mirror of
https://github.com/Ark0N/Codeman.git
synced 2026-10-05 06:59:42 +02:00
chore: bump version to 0.1491
This commit is contained in:
+2
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user