fix server throwing when cleaning exited

This commit is contained in:
Peter Steinberger 2025-06-22 07:01:34 +02:00
parent d34f35e660
commit 8145ccf14e

View file

@ -316,7 +316,7 @@ export class SessionManager {
// Process is dead, update status
const paths = this.getSessionPaths(session.id);
if (paths) {
this.updateSessionStatus(paths.sessionJsonPath, 'exited', undefined, 1);
this.updateSessionStatus(session.id, 'exited', undefined, 1);
updatedSessions.push(session.id);
}
}