Added call to communicate() after terminating server
This commit is contained in:
parent
3da402fdf9
commit
a4e28157c4
@ -149,6 +149,7 @@ class YouCompleteMe( object ):
|
|||||||
def _ServerCleanup( self ):
|
def _ServerCleanup( self ):
|
||||||
if self._IsServerAlive():
|
if self._IsServerAlive():
|
||||||
self._server_popen.terminate()
|
self._server_popen.terminate()
|
||||||
|
self._server_popen.communicate()
|
||||||
utils.RemoveIfExists( self._temp_options_filename )
|
utils.RemoveIfExists( self._temp_options_filename )
|
||||||
|
|
||||||
if not self._user_options[ 'server_keep_logfiles' ]:
|
if not self._user_options[ 'server_keep_logfiles' ]:
|
||||||
|
Loading…
Reference in New Issue
Block a user