Skip to content

Commit 57565ca

Browse files
committed
address greptile
1 parent 6af6598 commit 57565ca

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

apps/sim/app/workspace/[workspaceId]/w/[workflowId]/hooks/use-workflow-execution.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2178,6 +2178,7 @@ export function useWorkflowExecution() {
21782178
.getWorkflowExecution(reconnectWorkflowId)
21792179
const currentId = executionState?.currentExecutionId ?? null
21802180
if (currentId && currentId !== capturedExecutionId) return
2181+
finishRunningEntries(reconnectWorkflowId, capturedExecutionId)
21812182
setCurrentExecutionId(reconnectWorkflowId, null)
21822183
setIsExecuting(reconnectWorkflowId, false)
21832184
setActiveBlocks(reconnectWorkflowId, new Set())

0 commit comments

Comments
 (0)