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

@@ -101,9 +101,9 @@
function registerRunnerDone(rid) {
if (rid) {
socket.on(`runner-done-${rid}`, handleRunnerDone);
socket().on(`runner-done-${rid}`, handleRunnerDone);
return () => {
socket.off(`runner-done-${rid}`, handleRunnerDone);
socket().off(`runner-done-${rid}`, handleRunnerDone);
};
} else {
return () => {};