1 Reply Latest reply on Oct 2, 2008 10:49 AM by ntsiii

    PopUpManager.removePopUp() and pending events

    Marc Missire

      I was looking at some code and had a question about popup removal.

      dispatchEvent( ... some event ... );

      In our case, the event triggers a Cairngorm command class that takes a while to complete. Is it safe to kill the popup this way? I am thinking it's better to remove the popup at the end of the event handler, not right after the event is dispatched (as shown).

      However, as the code appears to work, I thought I'd ask if anyone knows whether it matters.