Skip to content

Commit

Permalink
Add support for GC and CC on Firefox
Browse files Browse the repository at this point in the history
  • Loading branch information
tysmith committed Dec 7, 2019
1 parent 29a9e78 commit dab32af
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions template.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@

function freememory() {
try { CollectGarbage(); } catch(err) { }
try { FuzzingFunctions.garbageCollect(); } catch(err) { }
try { FuzzingFunctions.cycleCollect(); } catch(err) { }
try { window.gc(); } catch(err) { }
}

Expand Down

0 comments on commit dab32af

Please sign in to comment.