Document that hack

This commit is contained in:
Luke Murphy 2020-07-22 19:10:29 +02:00
parent 4f975485fc
commit 52d3ec0fa6
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC

View File

@ -85,7 +85,11 @@ class DropShip:
log.info("Multiple file sending coming soon ™") log.info("Multiple file sending coming soon ™")
def on_quit(self, *args, **kwargs): def on_quit(self, *args, **kwargs):
"""Quit the program."""
self.window.close() self.window.close()
# Note(decentral1se): this seems to be a hack but kinda works!?
# enabled by https://github.com/jhenstridge/asyncio-glib/pull/7
self._running.set_result(None) self._running.set_result(None)