Hi Bruce, --- In [email protected], "brucexs" <[EMAIL PROTECTED]> wrote: > > Beta 4.4.05 is available
In 4.04.7 the event.destroy in this situation: ================== event.create(1, 0, "." ++ scriptname ++ "@startFinished(event.this)", "g_bStartDone and (not g_bHasHibernated)") quit .... @startFinished event.destroy(arg(1)) ================== fails with "invalid event handle -1". follwed usually by crash (probably because the event isn't destroyed and something happens many times which shouldn't) My guess: the event created by event.create is probably a local, so its automatically released at the "quit". Hmmm, but that wouldn't explain my the event keeps firing. Anyway, unless I'm missing something, that's not the way event.this is supposed to work. Would this work? event.create(1, 0, "." ++ scriptname ++ "@startFinished(event.localcopy(event.this))",..... But maybe event.this can force the event it's invoked on into localcopy format? Would that always be correct thing to do? I've had to ddrop back to 4.4.06 til the dust settles. I use the event.create(, , script(event.this)... idiom a lot. Attention: PowerPro's Web site has moved: http://www.ppro.org Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/power-pro/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
