Bug 975849 - Remove overly strict assertion from CycleCollectedJSRuntime::TraverseRoots to restore previous behavior. r=smaug
This commit is contained in:
@@ -877,8 +877,6 @@ CycleCollectedJSRuntime::ZoneParticipant()
|
||||
nsresult
|
||||
CycleCollectedJSRuntime::TraverseRoots(nsCycleCollectionNoteRootCallback &aCb)
|
||||
{
|
||||
MOZ_ASSERT(!NeedCollect(), "Cannot cycle collect if GC has not run first!");
|
||||
|
||||
TraverseNativeRoots(aCb);
|
||||
|
||||
NoteWeakMapsTracer trc(mJSRuntime, TraceWeakMapping, aCb);
|
||||
|
||||
Reference in New Issue
Block a user