Join GitHub today
Close window in order from newer one on macOS #10366
A parent window is not closed if a child modal window still exists on macOS.
This example shows a window and show its child modal window. And then it calls
I checked this behavior by
Original code(A parent window is not closed)
This version(Both parent and child windows are closed)
Here is a list of things that will help get it across the finish line: