Gst.TaskPool.prototype.cleanup

function cleanup():void {
    // Gjs wrapper for gst_task_pool_cleanup()
}

Wait for all tasks to be stopped. This is mainly used internally to ensure proper cleanup of internal data structures in test suites.

MT safe.