Only calling Shutdown on valid Completers

This commit is contained in:
Strahinja Val Markovic 2013-09-23 15:23:33 -07:00
parent c29dc44b38
commit c527cda436

View File

@ -38,6 +38,7 @@ class ServerState( object ):
def Shutdown( self ):
for completer in self._filetype_completers.itervalues():
if completer:
completer.Shutdown()
self._gencomp.Shutdown()