Skip to content

Commit

Permalink
UNDERTOW-826 WebSockets helper class passes null instead of context i…
Browse files Browse the repository at this point in the history
…n onError
  • Loading branch information
stuartwdouglas committed Sep 8, 2016
1 parent c485a55 commit 4491bf4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -638,7 +638,7 @@ private static <T> void sendInternal(final ByteBuffer data, WebSocketFrameType t
flushChannelAsync(wsChannel, callback, channel, context, timeoutmillis);
} catch (IOException e) {
if (callback != null) {
callback.onError(wsChannel, null, e);
callback.onError(wsChannel, context, e);
} else {
IoUtils.safeClose(wsChannel);
}
Expand Down

0 comments on commit 4491bf4

Please sign in to comment.