Adds Simulator::Destroy () to nsclick-simple-lan.cc and nsclick-raw-wlan.cc

This commit is contained in:
Lalith Suresh
2011-05-23 10:54:41 -04:00
parent 6d2328e99c
commit 9b43459eee
2 changed files with 4 additions and 0 deletions

View File

@@ -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");

View File

@@ -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");