release

fun release()

Releases ownership of a context previously acquired by this thread with method@GLib.MainContext.acquire. If the context was acquired multiple times, the ownership will be released only when method@GLib.MainContext.release is called as many times as it was acquired.

You must have successfully acquired the context with method@GLib.MainContext.acquire before you may call this function.