Crash Deleting Windows since addition of isWindowOnCurrentVirtualDesktop

I’m unable to reproduce the crash using the DialogsDemo and opening an alert window but I think I can see what’s going wrong. Can you see if the following patch fixes the crash in your case?

0001.patch (940 Bytes)