From 389e3bfe4c5315ab9a1d18370c3329a1b923684a Mon Sep 17 00:00:00 2001 From: nop Date: Thu, 21 Nov 2013 17:10:37 +0100 Subject: [PATCH] Check auto_stop_csharp_server when shutting down Check auto_stop_csharp_server instead of auto_start_csharp_server when shutting down --- python/ycm/completers/cs/cs_completer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/ycm/completers/cs/cs_completer.py b/python/ycm/completers/cs/cs_completer.py index 527d9bd4..7f56b6e8 100755 --- a/python/ycm/completers/cs/cs_completer.py +++ b/python/ycm/completers/cs/cs_completer.py @@ -48,7 +48,7 @@ class CsharpCompleter( Completer ): def Shutdown( self ): - if ( self.user_options[ 'auto_start_csharp_server' ] and + if ( self.user_options[ 'auto_stop_csharp_server' ] and self._ServerIsRunning() ): self._StopServer()