mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-03 14:01:15 +02:00
Clean GNS3 close if one remote server is down. Fixes #1357.
This commit is contained in:
1 parent
e3c8c9d484
commit
a54359d243
3 files changed
+22
-12
No files matched your search
@@ -146,7 +146,6 @@ class Project:
|
||||
}
|
||||
)
|
||||
|
||||
|
||||
def reset(self):
|
||||
"""
|
||||
Called when open/close a project. Cleanup internal stuff
|
||||
@@ -324,7 +323,7 @@ class Project:
|
||||
@property
|
||||
def auto_close(self):
|
||||
"""
|
||||
Should project automaticaly closed when client
|
||||
Should project automatically closed when client
|
||||
stop listening for notification
|
||||
"""
|
||||
return self._auto_close
|
||||
@@ -765,7 +764,6 @@ class Project:
|
||||
except KeyError:
|
||||
pass
|
||||
|
||||
|
||||
for pict in pictures:
|
||||
os.remove(os.path.join(self.pictures_directory, pict))
|
||||
except OSError as e:
|
||||
|
||||
Reference in new issue
Block a user