diff --git a/src/lock/lock.cpp b/src/lock/lock.cpp index fdf818dd6e..ba5b2b832c 100644 --- a/src/lock/lock.cpp +++ b/src/lock/lock.cpp @@ -2762,8 +2762,11 @@ void LockManager::post_pending(lbl* lock) if (request->lrq_flags & LRQ_pending) break; - if (!(request->lrq_flags & (LRQ_blocking | LRQ_blocking_seen))) + if (!(request->lrq_flags & (LRQ_blocking | LRQ_blocking_seen)) && + request->lrq_ast_routine) + { request->lrq_flags |= LRQ_just_granted; + } } } }