|
|
|
The return value is wether we should continue closing the window.
If the file didn't need to get saved the dialog is not shown and the function returns true. So really two bugs were fixed, because a canceled close would close the system out but not the window. |
||||||||||||||||||||||||||||||||||||||||||||
The change for this issue is <http://fisheye.codehaus.org/changelog/groovy/trunk/groovy/groovy-core?cs=12064
>.
I suspect that there is problem in the change.
This:
void exit(EventObject evt = null) { if (askToSaveFile()) { frame.hide() frame.dispose() FindReplaceUtility.dispose() } systemOutInterceptor.stop() }Changed to:
void exit(EventObject evt = null) { if (askToSaveFile()) { frame.hide() frame.dispose() FindReplaceUtility.dispose() consoleControllers.remove(this) if (!consoleControllers) { systemOutInterceptor.stop() } } }It probably was meant to be:
void exit(EventObject evt = null) { if (askToSaveFile()) { frame.hide() frame.dispose() FindReplaceUtility.dispose() } consoleControllers.remove(this) if (!consoleControllers) { systemOutInterceptor.stop() } }