aboutsummaryrefslogtreecommitdiff
path: root/src/cancel.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/cancel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cancel.cpp b/src/cancel.cpp
index 8991684..9248b25 100644
--- a/src/cancel.cpp
+++ b/src/cancel.cpp
@@ -54,7 +54,7 @@ THE SOFTWARE.
54{ 54{
55 auto const* const _lane{ kLanePointerRegKey.readLightUserDataValue<Lane>(L_) }; 55 auto const* const _lane{ kLanePointerRegKey.readLightUserDataValue<Lane>(L_) };
56 // 'lane' is nullptr for the original main state (and no-one can cancel that) 56 // 'lane' is nullptr for the original main state (and no-one can cancel that)
57 return _lane ? _lane->cancelRequest : CancelRequest::None; 57 return _lane ? _lane->cancelRequest.load(std::memory_order_relaxed) : CancelRequest::None;
58} 58}
59 59
60// ################################################################################################# 60// #################################################################################################