mirror of
https://github.com/GNS3/gns3-server.git
synced 2025-06-15 22:08:17 +00:00
Catch OSError exception in psutil. Fixes https://github.com/GNS3/gns3-gui/issues/3127
This commit is contained in:
@ -195,7 +195,7 @@ def kill_ghosts():
|
||||
if name in detect_process:
|
||||
proc.kill()
|
||||
log.warning("Killed ghost process %s", name)
|
||||
except (psutil.NoSuchProcess, psutil.AccessDenied):
|
||||
except (OSError, psutil.NoSuchProcess, psutil.AccessDenied):
|
||||
pass
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user