Skip to content

Commit

Permalink
[PinpiontWeb] fix a ActiveThread concurrency problem pinpoint-apm#1482
Browse files Browse the repository at this point in the history
If webSocketSession status is not opened, then do not binding to flush aggregator.
  • Loading branch information
koo-taejin committed Oct 18, 2016
1 parent 56f53d5 commit 88d5fe5
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,11 @@ private void handleRequestMessage0(WebSocketSession webSocketSession, RequestMes
}

unbindingResponseAggregator(webSocketSession);
bindingResponseAggregator(webSocketSession, applicationName);
if (webSocketSession.isOpen()) {
bindingResponseAggregator(webSocketSession, applicationName);
} else {
logger.warn("WebSocketSession is not opened. skip binding.");
}
}
}
}
Expand Down

0 comments on commit 88d5fe5

Please # to comment.