Skip to content

Commit

Permalink
More fixes for #1965
Browse files Browse the repository at this point in the history
  • Loading branch information
jfarcand committed Apr 29, 2015
1 parent 899e7ac commit 4d93c4b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -674,7 +674,7 @@ public void executeClose(WebSocket webSocket, int closeCode) {
boolean isClosedByClient = r == null ? true : r.getAtmosphereResourceEvent().isClosedByClient();
try {
if (r != null) {
asynchronousProcessor.endRequest(AtmosphereResourceImpl.class.cast(webSocket.resource()), true);
asynchronousProcessor.endRequest(AtmosphereResourceImpl.class.cast(r), true);
}
} finally {
if (!isClosedByClient) {
Expand Down

0 comments on commit 4d93c4b

Please sign in to comment.