chore: bump version to 0.1491

This commit is contained in:
arkon
2026-02-12 20:14:01 +01:00
parent 9702739e67
commit f47ae4b80f
20 changed files with 890 additions and 344 deletions
+2 -1
View File
@@ -1990,7 +1990,8 @@ export class Session extends EventEmitter {
// Immediately cleanup Promise callbacks to prevent orphaned references
// during the rest of stop() processing (e.g., if screen kill times out)
if (this.rejectPromise) {
if (this.rejectPromise && !this._promptResolved) {
this._promptResolved = true;
this.rejectPromise(new Error('Session stopped'));
}
this.resolvePromise = null;