Stop assuming that it's fine

This commit is contained in:
Casey 2024-07-11 19:07:30 +03:00
parent 486bebaed9
commit 865ae22853
Signed by: hkc
GPG Key ID: F0F6CFE11CDB0960
1 changed files with 1 additions and 1 deletions

View File

@ -86,7 +86,7 @@ class WorkerManager:
self.shmem.buf[OFFSET_STATE + byte] & mask
):
await sio.emit("toggle_bit", {"index": index})
self.shmem.buf[OFFSET_STATE + byte] ^= mask
# self.shmem.buf[OFFSET_STATE + byte] ^= mask
self.n_toggles += 1
self.queue.task_done()
batch += 1