Improve checks when starting IOU.

This commit is contained in:
grossmj committed 2014-04-10 18:48:43 -06:00
1 parent 4ab9b4acc7
commit fca399a5ab
2 files changed
+12 -6

No files matched your search

+2 -2
View File
@@ -127,8 +127,8 @@ class Dynamips(IModule):
Properly stops the module.
"""
#if not sys.platform.startswith("win32"):
# self._callback.stop()
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