Skip to content

Commit 8167b0d

Browse files
fix(antigravity): ignore stop failures in the idle-Stop finalizer
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
1 parent 280994d commit 8167b0d

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎apps/server/src/provider/Layers/AntigravityAdapter.ts‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1189,7 +1189,9 @@ export const makeAntigravityAdapter = Effect.fn("makeAntigravityAdapter")(functi
11891189
// interrupted, or it is left unreachable with its commands running.
11901190
Effect.ensuring(
11911191
Effect.suspend(() =>
1192-
idleWithCommands ? withThreadLock(threadId, stopContext(context)) : Effect.void,
1192+
idleWithCommands
1193+
? withThreadLock(threadId, stopContext(context)).pipe(Effect.ignore)
1194+
: Effect.void,
11931195
),
11941196
),
11951197
);

0 commit comments

Comments
 (0)