mirror of
https://github.com/GNS3/gns3-server
synced 2024-11-30 20:28:08 +00:00
Catch extra args in windows signal handler
This commit is contained in:
parent
94a709cb42
commit
e65648398b
@ -106,7 +106,7 @@ class Server:
|
||||
|
||||
def _signal_handling(self):
|
||||
|
||||
def signal_handler(signame):
|
||||
def signal_handler(signame, *args):
|
||||
log.warning("Server has got signal {}, exiting...".format(signame))
|
||||
asyncio.async(self.shutdown_server())
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user