mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 635227 - crash [@ nsJSContext::CycleCollectNow], r=gal, a=hb
This commit is contained in:
parent
a7f8b6dea2
commit
230f55841b
@ -3280,7 +3280,9 @@ nsJSContext::GarbageCollectNow()
|
||||
sPendingLoadCount = 0;
|
||||
sLoadingInProgress = PR_FALSE;
|
||||
|
||||
nsContentUtils::XPConnect()->GarbageCollect();
|
||||
if (nsContentUtils::XPConnect()) {
|
||||
nsContentUtils::XPConnect()->GarbageCollect();
|
||||
}
|
||||
}
|
||||
|
||||
//Static
|
||||
|
Loading…
Reference in New Issue
Block a user