Only calling Shutdown on valid Completers
This commit is contained in:
parent
c29dc44b38
commit
c527cda436
@ -38,6 +38,7 @@ class ServerState( object ):
|
||||
|
||||
def Shutdown( self ):
|
||||
for completer in self._filetype_completers.itervalues():
|
||||
if completer:
|
||||
completer.Shutdown()
|
||||
|
||||
self._gencomp.Shutdown()
|
||||
|
Loading…
Reference in New Issue
Block a user