bundled electron app starts without error

This commit is contained in:
Jan Prochazka
2021-12-16 13:25:57 +01:00
parent e636987f31
commit 588b8b23f9
17 changed files with 91 additions and 59 deletions

View File

@@ -95,9 +95,9 @@
});
function onSession(sid) {
if (sid) {
socket.on(`session-done-${sid}`, handleSessionDone);
socket().on(`session-done-${sid}`, handleSessionDone);
return () => {
socket.off(`session-done-${sid}`, handleSessionDone);
socket().off(`session-done-${sid}`, handleSessionDone);
};
}
return () => {};