Skip to content

Commit

Permalink
resume code
Browse files Browse the repository at this point in the history
  • Loading branch information
vyokky committed Dec 12, 2024
1 parent 34cd94f commit 3e9730a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ufo/agents/processors/basic.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,8 +159,10 @@ def resume(self) -> None:
except StopIteration:
# Error was handled and logged in the exception capture decorator.
# Simply return here to stop the process early.
pass

finally:
self._is_resumed = False
return

@classmethod
def method_timer(cls, func):
Expand Down

0 comments on commit 3e9730a

Please sign in to comment.