I've already done this! However, I took a look on my code yesterday and realized that the "quit-application" observer has never been launched. Perhaps these two bugs are related, aren't they?
How can I solve both of them? Could you help me again?



On 4/12/06, Niky Williams <[EMAIL PROTECTED]> wrote:
André Pedralho wrote:
> Hi all,
> I'm trying to develop my own mozilla component in my mozilla based
> browser . Actually. it is almost done! However, when I close my browser
> I need to save some informations collected by my component. I tried to
> do it using the destructor of my component but it hasn't  been called.
> Did I miss to do some resgistration or call some function to make my
> destructors work?
> Any glue about it?
>
> Thanks in advance
>
> --
> André Pedralho
> Bachelor in Computer Science
> Instituto Nokia de Tecnologia

If the destructor is not being called, then probably your component is
not being release and is potentially leaking memory.  Find out how to
release or delete your component and it should call the destructor.
Least, this is what I would try to do.

Niky Williams



--
André Pedralho
Bachelor in Computer Science
Instituto Nokia de Tecnologia
_______________________________________________
dev-embedding mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-embedding

Reply via email to