Skip to content

Commit

Permalink
Added NPE check, related jira MSB-168
Browse files Browse the repository at this point in the history
  • Loading branch information
olenara committed Dec 6, 2017
1 parent f082762 commit f314aef
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -727,7 +727,9 @@ public void fireChannelClosed() {
@Override
public void expired(WindowFuture<Integer, PduRequest, PduResponse> future) {
this.countSendRequestPduExpired(future.getRequest());
this.sessionHandler.firePduRequestExpired(future.getRequest());
if (this.sessionHandler != null) {
this.sessionHandler.firePduRequestExpired(future.getRequest());
}
}

private void countSendRequestPdu(PduRequest pdu) {
Expand Down

0 comments on commit f314aef

Please sign in to comment.