Skip to content

Commit 57455ff

Browse files
committed
one more bugbot comment
1 parent 0209d33 commit 57455ff

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

apps/sim/lib/execution/isolated-vm.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -971,6 +971,7 @@ export async function executeInIsolatedVM(
971971
req.timeoutMs
972972
)
973973
if (leaseAcquireResult === 'limit_exceeded') {
974+
maybeCleanupOwner(ownerKey)
974975
return {
975976
result: null,
976977
stdout: '',
@@ -982,6 +983,7 @@ export async function executeInIsolatedVM(
982983
}
983984
}
984985
if (leaseAcquireResult === 'unavailable') {
986+
maybeCleanupOwner(ownerKey)
985987
return {
986988
result: null,
987989
stdout: '',

0 commit comments

Comments
 (0)