Close every classloader/worker still pinned by state.frames. Idempotent on per-frame errors (each close is guarded). Intended for daemon teardown (both the JVM shutdown hook and the regular embedded close() path).
Close every classloader/worker still pinned by state.frames. Idempotent on per-frame errors (each close is guarded). Intended for daemon teardown (both the JVM shutdown hook and the regular embedded close() path).
Does NOT touch bootstrapWorkers: those workers live on the daemon's main classloader, which the JVM owns; closing them here would race with any in-flight launcher that still holds a reference. Daemon teardown waits for launcher sessions to drain via LauncherLockingImpl.close() first.