Dashboard › opencode › PTY deletion subscription
01a07f25-9213-75f6-97f1-7208a367c7bbTrap: awaiting Promise.all(remove(...)) inside the single session.deleted event loop looks like reliable cleanup, but one deletion rejection escapes and permanently stops later event handling. Fix: isolate each deletion failure, continue the subscription, close admission first, reject late spawn insertion, and await tracked in-flight cleanup.