Skip to content

Commit 92b2180

Browse files
committed
Fixing atomic store memory order
1 parent 16f9209 commit 92b2180

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/common/Environment.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -267,8 +267,8 @@ class Environment {
267267
Polling::finalize();
268268

269269
// Disable both modes
270-
_state.blockingMode.store(false, std::memory_order_acq_rel);
271-
_state.nonBlockingMode.store(false, std::memory_order_acq_rel);
270+
_state.blockingMode.store(false);
271+
_state.nonBlockingMode.store(false);
272272

273273
// Mark the library as finalized
274274
_state.initialized = false;

0 commit comments

Comments
 (0)