mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Backed out changeset 317c684efd2d (bug 997908) for mochitest-e10s leaks.
This commit is contained in:
parent
9b53fab543
commit
d67421653d
@ -1054,12 +1054,6 @@ CycleCollectedJSRuntime::DeferredFinalize(DeferredFinalizeAppendFunction aAppend
|
||||
void
|
||||
CycleCollectedJSRuntime::DeferredFinalize(nsISupports* aSupports)
|
||||
{
|
||||
// We'll crash here if aSupports is invalid, which is better (more
|
||||
// informative) than crashing in ReleaseSliceNow(). See bug 997908.
|
||||
// This patch should be backed out when bug 997908 gets fixed, or if
|
||||
// it doesn't actually help fix that bug.
|
||||
NS_IF_ADDREF(aSupports);
|
||||
NS_IF_RELEASE(aSupports);
|
||||
mDeferredSupports.AppendElement(aSupports);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user