tests: Destroy GjsContext before exit

This will be required in the upcoming version of GJS.

https://bugzilla.gnome.org/show_bug.cgi?id=775374
This commit is contained in:
Philip Chimento 2016-12-09 18:50:39 -08:00
parent 678670bf1b
commit dc110db4e0

View File

@ -127,6 +127,7 @@ main(int argc, char **argv)
gjs_context_gc (js_context); gjs_context_gc (js_context);
gjs_context_gc (js_context); gjs_context_gc (js_context);
g_object_unref (js_context);
g_free (script); g_free (script);
exit (code); exit (code);
} }