mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1210821 - Fix possible IPC cancellation bug (r=dvander)
This commit is contained in:
parent
65c10472e9
commit
186bf03026
@ -2009,7 +2009,8 @@ MessageChannel::CancelCurrentTransaction()
|
||||
{
|
||||
MonitorAutoLock lock(*mMonitor);
|
||||
if (mCurrentTransaction &&
|
||||
(DispatchingSyncMessagePriority() >= IPC::Message::PRIORITY_HIGH))
|
||||
!DispatchingAsyncMessage() &&
|
||||
DispatchingSyncMessagePriority() >= IPC::Message::PRIORITY_HIGH)
|
||||
{
|
||||
CancelCurrentTransactionInternal();
|
||||
mLink->SendMessage(new CancelMessage());
|
||||
|
Loading…
Reference in New Issue
Block a user