*Don't need to toggle our event hook
This commit is contained in:
parent
b8b72450e6
commit
2e62597cd6
|
@ -467,9 +467,7 @@ async function handleSyncProtomux(aq: ActiveQuery) {
|
||||||
});
|
});
|
||||||
mux._free = mux._free.filter((item: any) => item !== undefined);
|
mux._free = mux._free.filter((item: any) => item !== undefined);
|
||||||
aq.sendUpdate(true);
|
aq.sendUpdate(true);
|
||||||
socket.off("syncProtomux", sync);
|
|
||||||
socket.emit("syncProtomux");
|
socket.emit("syncProtomux");
|
||||||
socket.on("syncProtomux", sync);
|
|
||||||
|
|
||||||
mutex.release();
|
mutex.release();
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue