gnash-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnash-commit] [bug #33780] Hostile Skies caused Gnash to freeze on drop


From: Nutchanon Wetchasit
Subject: [Gnash-commit] [bug #33780] Hostile Skies caused Gnash to freeze on dropping bombs on enemies' plane
Date: Wed, 29 Jun 2016 13:20:25 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; Linux i686; rv:25.8) Gecko/20151123 Firefox/31.9 PaleMoon/25.8.1

Follow-up Comment #5, bug #33780 (project gnash):

Compare and contrast: If the handler function was declared from outside of the
affected MovieClip, then got assigned as an event handler, *this handler will
run till its end*, no matter that the MovieClip it got event from was removed
using `removeMovieClip()` in the middle or not.

Test SWFs, source code, build scripts, and player logs are attached as
`removemovie-events-fromroot.zip`.

So the termination is likely to be decided from code's _closure scope_: if
handler's closure was destroyed on `removeMovieClip()` (e.g. the handler
function was declared from inside the removed MovieClip itself), the affected
handler _terminates instantly_.

On the other hand, if handler's closure was not affected by the
`removeMovieClip()` call (e.g. it was declared on root or other MovieClip and
got assigned in), the handler code _runs until its end_.

Gnash: 0.8.11dev (git f6a0b38 2-Jun-2016) 
Flash Player: 11.2.202.491 Standalone 
System: Debian GNU/Linux 7.0 Wheezy i386

P.S. The `removemovie-keydown-fromroot.swf` is affected by the same onKeyDown
event issue as one mentioned in comment 3
<https://savannah.gnu.org/bugs/?33780#comment3>.


(file #37623)
    _______________________________________________________

Additional Item Attachment:

File name: removemovie-events-fromroot.zip Size:9 KB


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?33780>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]