[test] test case for #486: Application Crash when quitting with secondary window on top
Merge pull request #1011 from kingFighter/test-case-#486

[test] test case for #486: Application Crash when quitting with secondary window on top