-
Notifications
You must be signed in to change notification settings - Fork 103
Open
Description
Resetting a running environment sends a close_command to the simulation. Then, the ns3 simulator is destroyed, and all ScheduleDestroy events should be handled:
ns3-ai/model/gym-interface/cpp/ns3-ai-gym-interface.cc
Lines 210 to 211 in 7dc5b1b
| Simulator::Stop(); | |
| Simulator::Destroy(); |
In parallel, the experiment is runned again, which kills the old environment and interrupts the ScheduleDestroy events.
ns3-ai/python_utils/ns3ai_utils.py
Lines 147 to 148 in 7dc5b1b
| def run(self, setting=None, show_output=False): | |
| self.kill() |
Instead, I expected that all events scheduled with ScheduleDestroy are executed when I reset the environment. It would be a nice feature to execute these events, when I close the environment.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels