mirror of
https://github.com/fusion44/blitz_api.git
synced 2026-08-13 11:52:45 +02:00
app_manage_task_impl released APP_MANAGE_LOCK_KEY and broadcast a FINISHED message from its finally block unconditionally, including on the early-return path where acquire_lock reported the lock as already held by a running install. A duplicate install/uninstall request would therefore delete the running task's lock (allowing concurrent management of the same app) and send FINISHED, which stopped that task's AppManageListener before it was done. Track whether this task actually acquired the lock and only release + finish when it did. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| models | ||
| routers | ||
| __init__.py | ||
| test_app_manage_lock.py | ||
| test_cln_shell_safety.py | ||
| test_exec_bash_timeout.py | ||
| test_warmup_events.py | ||
| utils.py | ||