[Laszlo-dev] For Review: Change 20090330-maxcarlson-3 Summary: Add workaround for Error #2132: NetConnection.connect cannot be called from a netStatus event handler

Sarah Allen sarah at ultrasaurus.com
Mon Mar 30 21:58:31 PDT 2009


approved.  Stack trace still worth investigating later, but this  
change is a good thing in any case since we should never call connect  
directly from the callback.

On Mar 30, 2009, at 9:47 PM, Max Carlson wrote:

> Change 20090330-maxcarlson-3 by maxcarlson at Bank on 2009-03-30  
> 21:36:42 PDT
>    in /Users/maxcarlson/openlaszlo/trunk-clean
>    for http://svn.openlaszlo.org/openlaszlo/trunk
>
> Summary: Add workaround for Error #2132: NetConnection.connect  
> cannot be called from a netStatus event handler
>
> Bugs Fixed: LPP-7999 - videoplayer warning in swf9 on startup
>
> Technical Reviewer: sarah at ultrasaurus.com
> QA Reviewer: hminsky
>
> Details: Call connect() via _doconnect() after a setTimeout() of 1ms  
> to work around ERROR 2132.  Make sure there's a valid  
> _creationCallback before using it, don't clear value of  
> _creationCallback.
>
> Tests: See LPP-7999
>
> Files:
> M      lps/components/extensions/av/mediastream.lzx
>
> Changeset: http://svn.openlaszlo.org/openlaszlo/patches/20090330-maxcarlson-3.tar

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.openlaszlo.org/pipermail/laszlo-dev/attachments/20090330/33bbbecb/attachment-0001.html


More information about the Laszlo-dev mailing list