| Tom Bray 2005-11-22, 5:46 pm |
| Ed,
I'm trying to figure out what's different about my code because as soon as =
I
close the NC after getting a result, IE with FP8 crashes every time. If I
don't close the NC or wait a few seconds before I do, there's no crash. The
sample code you provided doesn't crash at all, so there's something else
involved but I can't imagine what.
-Tom
On 11/21/05, Edward Chan <echan-14osZcCZf762oZ/6fjIToQ@public.gmane.org> wrote:
>
> I tried the following code but couldn't get FP8 to crash:
>
> Client-side:
>
> function onFoo()
> {
> this.onResult =3D function(msg)
> {
> trace(msg); // I can see this trace "hello world"
> nc.close();
> }
> }
>
> nc =3D new NetConnection();
> nc.onStatus =3D function(info)
> {
> trace(info.code);
> if (info.code =3D=3D "NetConnection.Connect.Success")
> {
> nc.call("foo", new onFoo(), "hello");
> }
> }
> nc.connect("rtmp://localhost/fp8crash");
>
> Server-side:
>
> application.onConnect =3D function(client)
> {
> client.foo =3D function(msg)
> {
> return msg + " world";
> }
> return true;
> }
>
> Are you able to consistently reproduce this crash?
>
> Thanks,
> Ed
>
>
> -----------------------------------------------------------
> Supported by Fig Leaf Software - http://www.figleaf.com
> -----------------------------------------------------------
>
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
>
=-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=-----------------------------------------------------------
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
|