Added exit() to _start() :P
authorslack <slack@codemaniacs.com>
Thu, 11 Jun 2009 18:28:11 +0000 (20:28 +0200)
committerslack <slack@codemaniacs.com>
Thu, 11 Jun 2009 18:28:11 +0000 (20:28 +0200)
lolailo.c

index ce860007a28bfef7b16da6a871110448b23245ff..806e13f9f638cea6139588141b84e0bd57cfa149 100644 (file)
--- a/lolailo.c
+++ b/lolailo.c
@@ -1,5 +1,6 @@
 //#include <QtGui/QApplication>
 #include <SDL/SDL.h>
+#include <unistd.h>
 //#include "mainwindow.h"
 #include "synth.h"
 #include "play.h"
@@ -31,5 +32,6 @@ void _start()
     //int error = a.exec();
     getchar();
     SDL_Quit();
+    _exit(0);
     //return error;
 }