Created
January 23, 2012 14:52
-
-
Save Tak/1663504 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// This path can be reentered if something else tries to close the window | |
// before the user responds to the "Save changes?" dialog. | |
// This results in a stack of "Save changes?" dialogs, and unpredictable behavior | |
// when responding to all but the first. | |
// The Right Fix would be to make it impossible for this to happen. | |
// For now, we work around by replacing the OnClosing handler | |
// until we get an answer back from the user. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment