Skip to content
Snippets Groups Projects
Commit f03c2f90 authored by inso's avatar inso
Browse files

Do not spam errors on closing

parent 781faa57
No related branches found
No related tags found
No related merge requests found
...@@ -100,6 +100,7 @@ if __name__ == '__main__': ...@@ -100,6 +100,7 @@ if __name__ == '__main__':
window = MainWindow.startup(app) window = MainWindow.startup(app)
loop.run_forever() loop.run_forever()
try: try:
loop.set_exception_handler(None)
loop.run_until_complete(app.stop()) loop.run_until_complete(app.stop())
logging.debug("Application stopped") logging.debug("Application stopped")
except asyncio.CancelledError: except asyncio.CancelledError:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment