Skip to content

Commit e2d6c7a

Browse files
author
Laurie T. Malau
committed
try this
1 parent 18d0422 commit e2d6c7a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/ws-manager-bridge/src/bridge.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -613,9 +613,9 @@ export class WorkspaceManagerBridge implements Disposable {
613613

614614
protected async markWorkspaceInstanceAsStopped(ctx: TraceContext, info: RunningWorkspaceInfo, now: Date) {
615615
const nowISO = now.toISOString();
616+
info.latestInstance.status.phase = "stopped";
616617
info.latestInstance.stoppingTime = nowISO;
617618
info.latestInstance.stoppedTime = nowISO;
618-
info.latestInstance.status.phase = "stopped";
619619
await this.workspaceDB.trace(ctx).storeInstance(info.latestInstance);
620620

621621
await this.messagebus.notifyOnInstanceUpdate(ctx, info.workspace.ownerId, info.latestInstance);

0 commit comments

Comments
 (0)