Skip to content

Commit

Permalink
Issue #4331 Close Complete
Browse files Browse the repository at this point in the history
fixed transition to ERROR state

Signed-off-by: Greg Wilkins <gregw@webtide.com>
  • Loading branch information
gregw committed Dec 5, 2019
1 parent cfc63a9 commit 40ebd16
Showing 1 changed file with 5 additions and 1 deletion.
Expand Up @@ -1301,7 +1301,11 @@ else if (wake)
@Override
public void onCompleteFailure(Throwable e)
{
_onError = e == null ? new IOException() : e;
synchronized (_channelState)
{
_onError = e == null ? new IOException() : e;
_state = State.ERROR;
}
if (_channel.getState().onWritePossible())
_channel.execute(_channel);
}
Expand Down

0 comments on commit 40ebd16

Please sign in to comment.