mirror of
https://github.com/GNS3/gns3-server.git
synced 2025-06-12 20:38:23 +00:00
When you change settings of the GNS3 VM the VM is reloaded and project using it closed
Fix #644
This commit is contained in:
@ -15,6 +15,7 @@
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
import aiohttp
|
||||
import asyncio
|
||||
import copy
|
||||
import uuid
|
||||
@ -338,7 +339,11 @@ class Node:
|
||||
"""
|
||||
Stop a node
|
||||
"""
|
||||
yield from self.post("/stop")
|
||||
try:
|
||||
yield from self.post("/stop")
|
||||
# We don't care if a compute is down at this step
|
||||
except aiohttp.errors.ClientOSError:
|
||||
pass
|
||||
|
||||
@asyncio.coroutine
|
||||
def suspend(self):
|
||||
|
Reference in New Issue
Block a user