Function

GLib-2.0GLibtest_queue_destroySince 2.16

  • Enqueues a callback destroy_func to be executed during the next test case teardown phase.

    This is most useful to auto destroy allocated test resources at the end of a test run. Resources are released in reverse queue order, that means enqueueing callback A before callback B will cause B() to be called before A() during teardown.

    Parameters

    • Optionaldestroy_data: any

      destroy callback data

    Returns void

    2.16