1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-12-23 23:38:21 +00:00

Remove lock for Ghost IOS (problem on Windows).

This commit is contained in:
Jeremy 2015-02-27 19:36:45 -07:00
parent ba95567886
commit 70d5dea256

View File

@ -105,7 +105,6 @@ class Dynamips(BaseManager):
_VM_CLASS = DynamipsVM
_DEVICE_CLASS = DynamipsDevice
_ghost_ios_lock = asyncio.Lock()
def __init__(self):
@ -348,8 +347,7 @@ class Dynamips(BaseManager):
ghost_ios_support = self.config.get_section_config("Dynamips").getboolean("ghost_ios_support", True)
if ghost_ios_support:
with (yield from Dynamips._ghost_ios_lock):
yield from self._set_ghost_ios(vm)
yield from self._set_ghost_ios(vm)
@asyncio.coroutine
def create_nio(self, node, nio_settings):