We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 81b6bd6 commit a21a3fcCopy full SHA for a21a3fc
1 file changed
src/placeos-rest-api/websocket/session.cr
@@ -449,7 +449,8 @@ module PlaceOS::Api::WebSocket
449
cache_cleaner.try &.cancel
450
clear_caches
451
452
- # Unbind all modules
+ # Unbind all modules — release the shared subscriptions
453
+ bindings.each_value { |subscription| self.class.subscriptions.unsubscribe(subscription) }
454
bindings.clear
455
456
# Ignore (stop debugging) all modules
0 commit comments