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 ):
|
def Shutdown( self ):
|
||||||
for completer in self._filetype_completers.itervalues():
|
for completer in self._filetype_completers.itervalues():
|
||||||
|
if completer:
|
||||||
completer.Shutdown()
|
completer.Shutdown()
|
||||||
|
|
||||||
self._gencomp.Shutdown()
|
self._gencomp.Shutdown()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user