Skip to content
Snippets Groups Projects

Async guard

Merged Mateusz Żebrak requested to merge mzebrak/async-guard into develop
6 files
+ 20
12
Compare changes
  • Side-by-side
  • Inline
Files
6
@@ -39,5 +39,5 @@ class TUIErrorHandler(ErrorHandlerContextManager[Exception]):
async def impl() -> None:
await self._app.switch_mode_into_locked(save_profile=False)
if self._app._going_into_locked_mode_guard.is_available:
if self._app._screen_remove_guard.is_available:
self._app.run_worker(impl())
Loading