quit

fun quit()

Stops a struct@GLib.MainLoop from running. Any calls to method@GLib.MainLoop.run for the loop will return.

Note that sources that have already been dispatched when method@GLib.MainLoop.quit is called will still be executed.