Shutdown fix: wait for the simulator to stop running before dereferencing elements.
authorClaudio-Daniel Freire <claudio-daniel.freire@inria.fr>
Wed, 15 Jun 2011 09:47:41 +0000 (11:47 +0200)
committerClaudio-Daniel Freire <claudio-daniel.freire@inria.fr>
Wed, 15 Jun 2011 09:47:41 +0000 (11:47 +0200)
commit8041ac20cd4f60e27d1d7d156f13d2f7dab86ff5
tree1618331e7af8cf9a8c2d3a695c2129f5df60bc63
parent998f81646eda4ab2238ff1080ae75997b28fcb3d
Shutdown fix: wait for the simulator to stop running before dereferencing elements.
NS3 isn't thread-safe, so destroying elements (which could happen when dereferenced)
while the simulator is running could be disastruous
src/nepi/testbeds/ns3/execute.py