commit | 6a904c16f7eac3d6da1add1851a8de978db09e60 | [log] [tgz] |
---|---|---|
author | Terry Jan Reedy <tjreedy@udel.edu> | Fri Nov 20 19:36:43 2015 -0500 |
committer | Terry Jan Reedy <tjreedy@udel.edu> | Fri Nov 20 19:36:43 2015 -0500 |
tree | 80f9d024d70a077e14cc79048283b4631378fc0d | |
parent | 0f3c9765d4dd5e0b4df608baf8d93cc0e5c4b227 [diff] |
Issue #24455: Prevent IDLE from hanging when a) closing the shell while the debugger is active (15347); b) closing the debugger with the [X] button (15348); and c) activating the debugger when already active (24455). The patch by Mark Roseman does this by making two changes. 1. To suspend and resume the gui.interaction method, use the tcl vwait mechanism interded for this purpose instead of root.mainloop & .quit. 2. In gui.run, allow any existing interaction to terminate first.