mirror of
https://github.com/samsonjs/vibetunnel.git
synced 2026-04-27 15:17:38 +00:00
fix server throwing when cleaning exited
This commit is contained in:
parent
d34f35e660
commit
8145ccf14e
1 changed files with 1 additions and 1 deletions
|
|
@ -316,7 +316,7 @@ export class SessionManager {
|
||||||
// Process is dead, update status
|
// Process is dead, update status
|
||||||
const paths = this.getSessionPaths(session.id);
|
const paths = this.getSessionPaths(session.id);
|
||||||
if (paths) {
|
if (paths) {
|
||||||
this.updateSessionStatus(paths.sessionJsonPath, 'exited', undefined, 1);
|
this.updateSessionStatus(session.id, 'exited', undefined, 1);
|
||||||
updatedSessions.push(session.id);
|
updatedSessions.push(session.id);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue