From 52d3ec0fa6ec122e4b134f67b7b201f8bd3fbaca Mon Sep 17 00:00:00 2001 From: Luke Murphy Date: Wed, 22 Jul 2020 19:10:29 +0200 Subject: [PATCH] Document that hack --- dropship.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dropship.py b/dropship.py index b13878a..7a4d4d8 100644 --- a/dropship.py +++ b/dropship.py @@ -85,7 +85,11 @@ class DropShip: log.info("Multiple file sending coming soon ™") def on_quit(self, *args, **kwargs): + """Quit the program.""" 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)