mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1181871 P1 Only enforce Cache Context shared data destruction on target thread after init. r=ehsan
This commit is contained in:
parent
6ec1f63a4a
commit
97df79d492
6
dom/cache/Context.cpp
vendored
6
dom/cache/Context.cpp
vendored
@ -83,9 +83,9 @@ private:
|
||||
{
|
||||
// We could proxy release our data here, but instead just assert. The
|
||||
// Context code should guarantee that we are destroyed on the target
|
||||
// thread. If we're not, then QuotaManager might race and try to clear the
|
||||
// origin out from under us.
|
||||
MOZ_ASSERT(mTarget == NS_GetCurrentThread());
|
||||
// thread once the connection is initialized. If we're not, then
|
||||
// QuotaManager might race and try to clear the origin out from under us.
|
||||
MOZ_ASSERT_IF(mConnection, mTarget == NS_GetCurrentThread());
|
||||
}
|
||||
|
||||
nsCOMPtr<nsIThread> mTarget;
|
||||
|
Loading…
Reference in New Issue
Block a user