mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1146471 - Release thread asserts for IPC (r=dvander)
This commit is contained in:
parent
aa4edaecad
commit
0ca4956fb8
@ -414,7 +414,7 @@ class MessageChannel : HasResultCodes
|
||||
// Can be run on either thread
|
||||
void AssertWorkerThread() const
|
||||
{
|
||||
MOZ_ASSERT(mWorkerLoopID == MessageLoop::current()->id(),
|
||||
MOZ_RELEASE_ASSERT(mWorkerLoopID == MessageLoop::current()->id(),
|
||||
"not on worker thread!");
|
||||
}
|
||||
|
||||
@ -423,7 +423,7 @@ class MessageChannel : HasResultCodes
|
||||
// NOT our worker thread.
|
||||
void AssertLinkThread() const
|
||||
{
|
||||
MOZ_ASSERT(mWorkerLoopID != MessageLoop::current()->id(),
|
||||
MOZ_RELEASE_ASSERT(mWorkerLoopID != MessageLoop::current()->id(),
|
||||
"on worker thread but should not be!");
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user