Builtin destination to shutdown the server.

This commit is contained in:
grossmj committed 2014-03-31 18:36:45 -06:00
1 parent ab02925f98
commit a92da02973
5 files changed
+15

No files matched your search

+2
View File
@@ -127,6 +127,8 @@ class Dynamips(IModule):
Properly stops the module.
"""
#if not sys.platform.startswith("win32"):
# self._callback.stop()
if self._hypervisor_manager:
self._hypervisor_manager.stop_all_hypervisors()
IModule.stop(self) # this will stop the I/O loop