Fixed NPE on interruption
This commit is contained in:
parent
bd1d184d69
commit
40c4d84477
@ -72,9 +72,9 @@ final class HttpTunnelWorker implements Runnable {
|
||||
break;
|
||||
}
|
||||
|
||||
ChannelBuffer buffer = ChannelBuffers.wrappedBuffer(buf);
|
||||
|
||||
fireMessageReceived(channel, buffer);
|
||||
if (buf != null) {
|
||||
fireMessageReceived(channel, ChannelBuffers.wrappedBuffer(buf));
|
||||
}
|
||||
}
|
||||
|
||||
// Setting the workerThread to null will prevent any channel
|
||||
|
Loading…
Reference in New Issue
Block a user