Don't busy wait

This commit is contained in:
Milan Stute
2020-12-02 16:33:51 +01:00
parent 17db506f04
commit ba550bb468
+1 -2
View File
@@ -117,8 +117,7 @@ class AirDropCli:
self.browser = AirDropBrowser(self.config)
self.browser.start(callback_add=self._found_receiver)
try:
while True:
pass
threading.Event().wait()
except KeyboardInterrupt:
pass
finally: