Macromedia Flash Server - Re: IE crashes with FP8 if you disconnect from

This is Interesting: Free IT Magazines  
Home > Archive > Macromedia Flash Server > November 2005 > Re: IE crashes with FP8 if you disconnect from





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Re: IE crashes with FP8 if you disconnect from
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

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com