I have an xtra that in the constructor it initialize some dlls. and in the
destructor it delete those dlls.
now I open the browser and watch a shockwave movie that uses this xtra.
in the lingo command the call for the constructor is like that:
  set x = new (xtra "MyXtra")
  if (x = 0) then
    put "No Xtra Available"
  end if
now I play with the movie and then close the browser window.

what suppose to be now is a call to the destructor.
But no, the destructor isn't called and there is a lot of memory leaks
because I didn't free up those dlls.

Is there any way to call the destructor after the browser is terminated or
not?
And if not than how could I free up the memory?

thanks


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of
James Newton
Sent: Tuesday, October 24, 2000 2:24 PM
To: [EMAIL PROTECTED]
Subject: Re: <lingo-l> Destructor call


Yariv Rosenstein <[EMAIL PROTECTED]>
>> It's strange but my Destructor is never called when I close the
>> iexplore window that contain my shockwave movie.
...
> Thanks for the response, But I have some question.

Hi Yariv,

I have probably not completely understood what you are doing.  If you
could explain the problem in more detail, I might be able to provide a
better answer.  It would help if you could include any relevant code, an
indication of what you want to see happen, and a description of what
does in fact happen.

Cheers,

James


[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]


[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]

Reply via email to