(self)
Extend EditorWindow._close(), shut down debugger and execution server
Extend EditorWindow._close(), shut down debugger and execution server
Extend EditorWindow . _close () shut down debugger and execution server
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)
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 )