fix more exit problems
This commit is contained in:
parent
b375af7298
commit
1aef864d87
3
bink.py
3
bink.py
@ -127,7 +127,7 @@ class App():
|
|||||||
self.loop.start()
|
self.loop.start()
|
||||||
|
|
||||||
def exit(self, message=""):
|
def exit(self, message=""):
|
||||||
app.loop.stop()
|
self.loop.stop()
|
||||||
run(["clear"])
|
run(["clear"])
|
||||||
exit(0)
|
exit(0)
|
||||||
|
|
||||||
@ -166,5 +166,4 @@ app = App()
|
|||||||
try:
|
try:
|
||||||
app.loop.run()
|
app.loop.run()
|
||||||
except KeyboardInterrupt:
|
except KeyboardInterrupt:
|
||||||
app.loop.stop()
|
|
||||||
app.exit()
|
app.exit()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user