Skip to content

Commit a2fc882

Browse files
committed
routing: Fix unclean remove causing next add to fail silently
1 parent 0c968c0 commit a2fc882

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/routing.coffee

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ class Binder
6060
binding = @bindings[id]
6161
return callback new Error "Binding does not exist" if not binding
6262
binding.enabled = false
63+
delete @bindings[id]
6364
#FIXME: add an unsubscribeQueue to Client/transport, and use that
6465
return callback null
6566

0 commit comments

Comments
 (0)