Permalink
Browse files

Merge branch 'master' of https://github.com/vert-x/vert.x

  • Loading branch information...
2 parents c4054e5 + c1d71fa commit 4f3f34aef12074f7170f26b90a884634218c9e5e @purplefox purplefox committed Jan 3, 2013
Showing with 2 additions and 0 deletions.
  1. +2 −0 vertx-core/src/main/java/org/vertx/java/core/sockjs/EventBusBridge.java
View
2 vertx-core/src/main/java/org/vertx/java/core/sockjs/EventBusBridge.java
@@ -94,6 +94,8 @@ public EventBusBridge(Vertx vertx, JsonArray inboundPermitted, JsonArray outboun
private void handleSocketClosed(SockJSSocket sock, Map<String, Handler<Message<JsonObject>>> handlers) {
// On close unregister any handlers that haven't been unregistered
for (Map.Entry<String, Handler<Message<JsonObject>>> entry: handlers.entrySet()) {
+ //call hook
+ handleUnregister(sock, entry.getKey());
eb.unregisterHandler(entry.getKey(), entry.getValue());
}

0 comments on commit 4f3f34a

Please sign in to comment.