mirror of
https://github.com/seemoo-lab/opendrop.git
synced 2026-09-14 15:16:11 -04:00
Don't busy wait
This commit is contained in:
+1
-2
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user