Adds Simulator::Destroy () to nsclick-simple-lan.cc and nsclick-raw-wlan.cc
This commit is contained in:
@@ -138,6 +138,8 @@ int main (int argc, char *argv[])
|
||||
|
||||
Simulator::Stop (Seconds (20.0));
|
||||
Simulator::Run ();
|
||||
|
||||
Simulator::Destroy ();
|
||||
return 0;
|
||||
#else
|
||||
NS_FATAL_ERROR ("Can't use ns-3-click without NSCLICK compiled in");
|
||||
|
||||
@@ -92,6 +92,8 @@ int main (int argc, char *argv[])
|
||||
|
||||
Simulator::Stop (Seconds (20.0));
|
||||
Simulator::Run ();
|
||||
|
||||
Simulator::Destroy ();
|
||||
return 0;
|
||||
#else
|
||||
NS_FATAL_ERROR ("Can't use ns-3-click without NSCLICK compiled in");
|
||||
|
||||
Reference in New Issue
Block a user