On Wed, 12 Mar 2025 17:44:14 GMT, Harshitha Onkar <hon...@openjdk.org> wrote:

> Assigning `mainFrame = null` is not required since we are disposing the frame 
> at this point.

It's required here, because the loop is repeated, and setting `mainFrame` to 
`null` prevents access to a disposed frame… likely from disposing of the frame 
again.

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/23964#discussion_r1992025095

Reply via email to