Signal handler must take 2 params
Otherwise we get a TypeError
This commit is contained in:
parent
acae8e4e9d
commit
6e9a16e90e
@ -38,7 +38,7 @@ def YcmCoreSanityCheck():
|
||||
# We need to manually call ServerShutdown for the signals that turn down ycmd
|
||||
# because atexit won't handle them.
|
||||
def SetUpSignalHandler():
|
||||
def SignalHandler():
|
||||
def SignalHandler( signum, frame ):
|
||||
import handlers
|
||||
handlers.ServerShutdown()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user