aboutsummaryrefslogtreecommitdiff
path: root/src/lane.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/lane.cpp')
-rw-r--r--src/lane.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lane.cpp b/src/lane.cpp
index 9ab574e..3f6f792 100644
--- a/src/lane.cpp
+++ b/src/lane.cpp
@@ -934,6 +934,7 @@ CancelResult Lane::cancel(CancelOp const op_, std::chrono::time_point<std::chron
934 return internalCancel(CancelRequest::Soft, until_, wakeLane_); 934 return internalCancel(CancelRequest::Soft, until_, wakeLane_);
935 } else if (op_.hookMask != LuaHookMask::None) { 935 } else if (op_.hookMask != LuaHookMask::None) {
936 lua_sethook(L, _cancelHook, static_cast<int>(op_.hookMask), hookCount_); 936 lua_sethook(L, _cancelHook, static_cast<int>(op_.hookMask), hookCount_);
937 // TODO: maybe we should wake the lane here too, because the hook won't do much if the lane is blocked on a linda
937 } 938 }
938 939
939 return internalCancel(CancelRequest::Hard, until_, wakeLane_); 940 return internalCancel(CancelRequest::Hard, until_, wakeLane_);