projects
/
rainbowstream.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
unknow bug in Mac OS: Stream process die after db is truncated
[rainbowstream.git]
/
rainbowstream
/
rainbow.py
diff --git
a/rainbowstream/rainbow.py
b/rainbowstream/rainbow.py
index 3a558e0d7e57f608d0637b3945f94c63b77f41d7..53c002fbee7239dbec8f3282a0fdd0693f520092 100644
(file)
--- a/
rainbowstream/rainbow.py
+++ b/
rainbowstream/rainbow.py
@@
-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()