Terminate a websocket subscription when the websocket closes
This commit is contained in:
parent
01d8ba9456
commit
79e8d87e5f
|
@ -46,6 +46,8 @@
|
|||
|
||||
(assert (web-response-websocket id))
|
||||
|
||||
(stop-when (websocket-connection-closed id))
|
||||
|
||||
(on (message ($ n (notification topic
|
||||
$canonical-hub
|
||||
$canonical-topic
|
||||
|
|
Loading…
Reference in New Issue