From 298bf229f80bb6b6fc5b6e7be71424bfae4dd110 Mon Sep 17 00:00:00 2001 From: Brendan Chen Date: Sun, 23 Nov 2025 20:29:50 -0800 Subject: [PATCH] Mark shuttle as not at stop when removing a shuttle --- src/repositories/shuttle/RedisShuttleRepository.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/repositories/shuttle/RedisShuttleRepository.ts b/src/repositories/shuttle/RedisShuttleRepository.ts index 42ecbfd..3fb63c0 100644 --- a/src/repositories/shuttle/RedisShuttleRepository.ts +++ b/src/repositories/shuttle/RedisShuttleRepository.ts @@ -556,6 +556,7 @@ export class RedisShuttleRepository extends BaseRedisRepository implements Shutt this.emit(ShuttleRepositoryEvent.SHUTTLE_REMOVED, shuttle); await this.removeShuttleLastStopIfExists(shuttleId); + await this.markShuttleAsNotAtStop(shuttleId); return shuttle; }