fixed #27
[rodin/chimara.git] / libchimara / abort.c
index aa8ed732bddfe4eab579d2be9847196e0e907364..87e4dd18b7e61523bba5990fc355580553579ee3 100644 (file)
@@ -81,4 +81,7 @@ shutdown_glk(void)
        /* Unref the input queues */
        g_async_queue_unref(glk_data->char_input_queue);
        g_async_queue_unref(glk_data->line_input_queue);
+
+       printf("cleaning up...\n");
+       chimara_glk_reset(glk_data->self);
 }