run-js-test: GC twice after running a test
When running with Valgrind, this helps us ensure that we're managing memory correctly. We need to GC twice as finalizing an object in the sweep can unroot objects which were already marked. Technically, it could be that we'll need to GC more than twice, but GCing twice should hopefully last us for now. https://bugzilla.gnome.org/show_bug.cgi?id=678737
parent
ab75faac
Please register or sign in to comment