Overview

Source https://github.com/zauberzeug/nicegui/examples/lightbox main Commit 138fcfb4d02948444a3f00884c9001bcd9458a82 - Fix timer callback tasks leaking when client disconnects mid-execution (#5931) ### Motivation When a `ui.timer` callback is a long-running `await` (e.g., `await dialog`, `await asyncio.sleep(...)`, or any async operation), disconnecting the client leaves the task alive forever in `background_tasks.running_tasks`. This affects both `once=True` timers (where the `_run_once` task hangs indefinitely) and recurring timers (where `_run_in_loop` is stuck at `await _current_invocation` and never reach… Managed by imperative Spec python-nicegui Auth default Version v5 Updated 2685h ago Containers prod · exited Id app_prd_2xeptcoho7n8jznzyxtfurwetyw

Requested permissions

Plugins proxy.in container.in
proxy.in.config <CONTAINER_URL>
container.in.config auto

All requested permissions are approved

Staging versions

5 versions Open staging
Version Git Actions
v5 active 138fcfb main
v4 ab47f68 main
v3 83f4d16 main
v2 040e672 main
v1 f7d9544 main

Production versions

5 versions Open app
Version Git Actions
v5 active 138fcfb main
v4 ab47f68 main
v3 83f4d16 main
v2 040e672 main
v1 f7d9544 main