Skip to content

Commit befc214

Browse files
committed
Remove unneeded Atomics.store
1 parent 0ef5621 commit befc214

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

JavaScript/7-binary-safe.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ class BinarySemaphore {
1818
Atomics.wait(this.lock, 0, LOCKED);
1919
prev = Atomics.exchange(this.lock, 0, LOCKED);
2020
}
21-
Atomics.store(this.lock, 0, LOCKED);
2221
}
2322

2423
leave() {

0 commit comments

Comments
 (0)