Critical tasks now cause the app to exit, instead of letting it continue with broken functionality

This commit is contained in:
DevilXD committed 2024-07-16 18:16:31 +02:00
1 parent f32c8f25d8
commit 016955c8ba
3 files changed
+36 -19

No files matched your search

+1 -1
View File
@@ -141,7 +141,7 @@ class Websocket:
)
break
@task_wrapper
@task_wrapper(critical=True)
async def _handle(self):
# ensure we're logged in before connecting
self.set_status(_("gui", "websocket", "initializing"))