зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1804755 - Log name for failed ProxyReleaseEvent dispatch warning, r=xpcom-reviewers,jstutte
Differential Revision: https://phabricator.services.mozilla.com/D164259
This commit is contained in:
Родитель
1b1268b98a
Коммит
9ee7b343e3
|
@ -78,7 +78,9 @@ nsresult ProxyRelease(const char* aName, nsIEventTarget* aTarget,
|
|||
|
||||
rv = aTarget->Dispatch(ev, NS_DISPATCH_NORMAL);
|
||||
if (NS_FAILED(rv)) {
|
||||
NS_WARNING("failed to post proxy release event, leaking!");
|
||||
NS_WARNING(nsPrintfCString(
|
||||
"failed to post proxy release event for %s, leaking!", aName)
|
||||
.get());
|
||||
// It is better to leak the aDoomed object than risk crashing as
|
||||
// a result of deleting it on the wrong thread.
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче