GLib.test_queue_free

function test_queue_free(gfree_pointer: void): void {
    // Gjs wrapper for g_test_queue_free()
}
  

Enqueue a pointer to be released with GLib.free during the next teardown phase. This is equivalent to calling GLib.test_queue_destroy with a destroy callback of GLib.free.

Since 2.16

gfree_pointer

the pointer to be stored.