summaryrefslogtreecommitdiff
path: root/src/cmumble.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmumble.c')
-rw-r--r--src/cmumble.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/cmumble.c b/src/cmumble.c
index 99a4fc8..5c42521 100644
--- a/src/cmumble.c
+++ b/src/cmumble.c
@@ -472,9 +472,13 @@ int main(int argc, char **argv)
g_source_attach(source, NULL);
g_source_unref(source);
+ cmumble_io_init(&ctx);
+
g_main_loop_run(ctx.loop);
g_main_loop_unref(ctx.loop);
+ cmumble_io_fini(&ctx);
+
return 0;
}