Freak not out if someone adds a click handler to something and removes said

thing from the stage in their click handler.


git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@330 c613c5cb-e716-0410-b11b-feb51c14d237
This commit is contained in:
Michael Bayne
2007-06-25 23:57:19 +00:00
parent 338e9e789b
commit 1c92282772
@@ -738,7 +738,7 @@ public class EZGameControl extends BaseControl
protected function handleRootClick (evt :MouseEvent) :void
{
try {
if (evt.target.stage.focus != null) {
if (evt.target.stage == null || evt.target.stage.focus != null) {
return;
}
} catch (err :SecurityError) {