mirror of
https://github.com/GNS3/gns3-server
synced 2024-11-24 17:28:08 +00:00
Catch extra args in windows signal handler
This commit is contained in:
parent
4c291f5051
commit
6c1d7bad81
@ -109,7 +109,7 @@ class WebServer:
|
||||
|
||||
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