release
Description:
public void 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.
Parameters:
| this |
a main context (if `NULL`, the global-default main context will be used) |