DashboardopencodePlugin finalizers activation lock

Plugin finalizers activation lock

Category: gotcha
Confidence: 1.00
ID: 01a08428-4b89-7fb6-91d1-76f9cc6e2e97
Project ID: c0425955-02bc-4c17-9af2-b114c00077e7
Cross-project: No
Recalled in other projects: 0
Source session: 16od9eLodujFsAeYb
Created: 2026-09-09 03:13:48
Updated: 2026-09-09 03:13:48

Content

Trap: joining disabled-plugin finalizers while holding the activation lock or readiness hold looks like orderly teardown, but user finalizers may await readiness and deadlock activation. Fix: update inventory and release lock ownership first, then close scopes asynchronously; always release the readiness token even when cleanup or reporting fails.

Move to: