1
0
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:
Julien Duponchelle 2016-05-30 15:28:53 +02:00
parent 94a709cb42
commit e65648398b
No known key found for this signature in database
GPG Key ID: CE8B29639E07F5E8

View File

@ -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())