unknow bug in Mac OS: Stream process die after db is truncated
[rainbowstream.git] / rainbowstream / rainbow.py
index 3a558e0..53c002f 100644 (file)
@@ -322,7 +322,7 @@ def quit():
     """
     Exit all
     """
-    db.truncate()
+    os.system('rm -rf rainbow.db')
     os.kill(g['stream_pid'], signal.SIGKILL)
     sys.exit()