Skip to content

Commit

Permalink
fixbug
Browse files Browse the repository at this point in the history
  • Loading branch information
jayscoder committed Apr 21, 2024
1 parent 739e939 commit 199a8fb
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion pybts/nodes.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,16 @@ def setup(self, **kwargs: typing.Any) -> None:

def reset(self):
self.reset_count += 1
self.debug_info.clear()
self.debug_info = {
'tick_count' : 0,
'update_count' : 0,
'terminate_count' : 0,
'initialise_count': 0,
'success_count' : 0,
'failure_count' : 0,
'invalid_count' : 0,
'running_count' : 0
}
self._updater_iter = None
if self.status != Status.INVALID:
self.stop(Status.INVALID)
Expand Down

0 comments on commit 199a8fb

Please sign in to comment.