mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 11:25:00 +00:00
Bug 881237- Unlock mLock before logging, r=bsmedberg
This commit is contained in:
parent
b59232a681
commit
4a18068463
@ -493,7 +493,7 @@ nsComponentManagerImpl::RegisterCIDEntryLocked(
|
||||
existing = f->mModule->Description();
|
||||
else
|
||||
existing = "<unknown module>";
|
||||
|
||||
SafeMutexAutoUnlock unlock(mLock);
|
||||
LogMessage("While registering XPCOM module %s, trying to re-register CID '%s' already registered by %s.",
|
||||
aModule->Description().get(),
|
||||
idstr,
|
||||
|
@ -18,6 +18,7 @@ DummyConstructorFunc(nsISupports* aOuter, const nsIID& aIID, void** aResult)
|
||||
}
|
||||
|
||||
static const mozilla::Module::CIDEntry kTestCIDs[] = {
|
||||
{ &kNS_TESTING_CID, false, NULL, DummyConstructorFunc },
|
||||
{ &kNS_TESTING_CID, false, NULL, DummyConstructorFunc },
|
||||
{ NULL }
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user