Skip to content

Commit 5e99771

Browse files
Merge pull request Project-Babble#88 from Project-Babble/dfgHiatus-patch-2
Update notification_manager.py
2 parents 2b712bc + ccb6e88 commit 5e99771

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

BabbleApp/notification_manager.py

+1-3
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,6 @@ async def show_notification(self, appversion, latestversion, page_url):
4040
sound=DEFAULT_SOUND,
4141
on_dismissed=lambda: self.stop_event.set()
4242
)
43-
44-
await self.stop_event.wait()
4543

4644
async def initialize(self):
4745
self.stop_event = asyncio.Event()
@@ -50,4 +48,4 @@ async def initialize(self):
5048
# Add non nt signal handlers
5149
if not is_nt:
5250
self.loop.add_signal_handler(signal.SIGINT, self.stop_event.set)
53-
self.loop.add_signal_handler(signal.SIGTERM, self.stop_event.set)
51+
self.loop.add_signal_handler(signal.SIGTERM, self.stop_event.set)

0 commit comments

Comments
 (0)