Bugzilla – Bug 459
Simulator::Run does nothing after Simulator::Stop is called
Last modified: 2009-01-09 02:54:49 UTC
Created attachment 346 [details] allow calling Simulator::Run after Simulator::Stop is called. If I run this: Simulator::Stop (Seconds (1.0)); Simulator::Run (); std::cout << Simulator::Now () << std::endl; Simulator::Stop (Seconds (1.0)); Simulator::Run (); std::cout << Simulator::Now () << std::endl; I get: 1.0s 1.0s I expected to get: 1.0s 2.0s The attached patch gets me the expected output. I will check it in in a day or two.
changeset a68a42e667f6