Qutex: currOwner should use registered sh_ptr to Lockvoker
This ensures that the Lockvoker object we access from currOwner remains valid past the lifetime of the Lockvoker object that gets copied and invoked by boost::asio
This commit is contained in:
@@ -68,7 +68,7 @@ public:
|
||||
|
||||
// Implement the virtual method from AsynchronousContinuationChainLink
|
||||
virtual std::shared_ptr<AsynchronousContinuationChainLink>
|
||||
getCallersContinuation() override
|
||||
getCallersContinuationShPtr() override
|
||||
{ return originalCallback.callerContinuation; }
|
||||
|
||||
public:
|
||||
|
||||
Reference in New Issue
Block a user