*Don't need to toggle our event hook

This commit is contained in:
Derrick Hammer 2023-04-06 14:26:57 -04:00
parent b8b72450e6
commit 2e62597cd6
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 0 additions and 2 deletions

View File

@ -467,9 +467,7 @@ async function handleSyncProtomux(aq: ActiveQuery) {
});
mux._free = mux._free.filter((item: any) => item !== undefined);
aq.sendUpdate(true);
socket.off("syncProtomux", sync);
socket.emit("syncProtomux");
socket.on("syncProtomux", sync);
mutex.release();
});