hust-diangroup / ns3-ai

Enable the interaction between ns-3 and popular frameworks using Python, which mean you can train and test your AI algorithms in ns-3 without changing any frameworks you are using now!
GNU General Public License v2.0
220 stars 80 forks source link

fix: race condition when resetting environment #115

Open Kakadus opened 5 months ago

Kakadus commented 5 months ago

Close #114

We wait for 2 seconds for the simulation to shut down. Only after this timeout, the environment is killed.

This is also done when the environment is closed.