mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 720554 - Use fatal assertion and check thread in History::Shutdown. r=mak.
--HG-- extra : rebase_source : 36b610364f9e9150fcfbf6cfe26834a1b87f81f1
This commit is contained in:
parent
78cb8a546b
commit
56aeb29e3f
@ -1750,7 +1750,8 @@ History::GetDBConn()
|
||||
void
|
||||
History::Shutdown()
|
||||
{
|
||||
NS_ASSERTION(!mShuttingDown, "Shutdown was called more than once!");
|
||||
MOZ_ASSERT(NS_IsMainThread());
|
||||
MOZ_ASSERT(!mShuttingDown && "Shutdown was called more than once!");
|
||||
|
||||
mShuttingDown = true;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user