parameters: (self)
docstring: Extend EditorWindow._close(), shut down debugger and execution server
docstring_summary: Extend EditorWindow._close(), shut down debugger and execution server
docstring_tokens: Extend EditorWindow . _close () shut down debugger and execution server
function: def _close(self):
          "Extend EditorWindow._close(), shut down debugger and execution server"
          self.close_debugger()
          if use_subprocess:
              self.interp.kill_subprocess()
          # Restore std streams
          sys.stdout = self.save_stdout
          sys.stderr = self.save_stderr
          sys.stdin = self.save_stdin
          # Break cycles
          self.interp = None
          self.console = None
          self.flist.pyshell = None
          self.history = None
          EditorWindow._close(self)
function_tokens: def _close ( self ) : self . close_debugger ( ) if use_subprocess : self . interp . kill_subprocess ( ) # Restore std streams sys . stdout = self . save_stdout sys . stderr = self . save_stderr sys . stdin = self . save_stdin # Break cycles self . interp = None self . console = None self . flist . pyshell = None self . history = None EditorWindow . _close ( self )