Skip to content

Commit bb1577b

Browse files
committed
remove the WebSocket listeners
1 parent aa1b9c1 commit bb1577b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

services/static-webserver/client/source/class/osparc/study/Conversations.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,9 @@ qx.Class.define("osparc.study.Conversations", {
4141
const viewWidth = 600;
4242
const viewHeight = 700;
4343
const win = osparc.ui.window.Window.popUpInWindow(conversations, title, viewWidth, viewHeight);
44+
win.addListener("close", () => {
45+
conversations.dispose(); // this will remove the WebSocket listeners
46+
}, this);
4447
return win;
4548
},
4649

0 commit comments

Comments
 (0)