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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user