mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 19:35:51 +00:00
Bug 881237: mLock released before logging the warning. r=bsmedberg
This commit is contained in:
parent
249ffd9e78
commit
86ba73d0e3
@ -494,6 +494,7 @@ nsComponentManagerImpl::RegisterCIDEntryLocked(
|
||||
else
|
||||
existing = "<unknown module>";
|
||||
|
||||
mLock.Unlock();
|
||||
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 }
|
||||
};
|
||||
@ -28,5 +29,3 @@ static const mozilla::Module kTestModule = {
|
||||
};
|
||||
|
||||
NSMODULE_DEFN(dummy) = &kTestModule;
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user