Problem: The problem was that the application would hang for one of the use cases that the customer was not sure of.
Analysis: The dump files of the hang pointed to the fact that the application hung while trying to close a window that is blocked by a modal dialog. On further analysis we could dig that, the application was hung while closing all the child windows from a menu option.The thread or the window that was blocked by the modal dialog was due to an exception message dialog.
Solution: The solution was to not close a window that is blocked due to some reason. Hence the method that closed all the overlap was modified to check if the window is blocked from its window handle. All the blocked windows are left and other modeless windows are closed in that case.
Analysis: The dump files of the hang pointed to the fact that the application hung while trying to close a window that is blocked by a modal dialog. On further analysis we could dig that, the application was hung while closing all the child windows from a menu option.The thread or the window that was blocked by the modal dialog was due to an exception message dialog.
Solution: The solution was to not close a window that is blocked due to some reason. Hence the method that closed all the overlap was modified to check if the window is blocked from its window handle. All the blocked windows are left and other modeless windows are closed in that case.
Comments
Post a Comment