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