Instance: add method Shutdown()

This commit is contained in:
Max Kellermann
2016-03-05 18:33:27 +01:00
parent 8e563cbccd
commit 23ab4e5e5f
3 changed files with 16 additions and 1 deletions

View File

@@ -393,7 +393,7 @@ idle_event_emitted(void)
static void
shutdown_event_emitted(void)
{
instance->event_loop->Break();
instance->Shutdown();
}
#endif