parameters: (self)
docstring: Cleans up the process
docstring_summary: Cleans up the process
docstring_tokens: Cleans up the process
function: def stop(self):
          """
          Cleans up the process
          """
          if self._log:
              self._log.close()
              self._log = None
          #If its dead dont worry
          if self.process is None:
              return
  
          #Tell the Server to properly die in case
          try:
              if self.process:
                  self.process.kill()
                  self.process.wait()
          except WindowsError:
              # kill may not be available under windows environment
              pass
function_tokens: def stop ( self ) : if self . _log : self . _log . close ( ) self . _log = None #If its dead dont worry if self . process is None : return #Tell the Server to properly die in case try : if self . process : self . process . kill ( ) self . process . wait ( ) except WindowsError : # kill may not be available under windows environment pass