Hi,
What exactly was happening when you forgot to uninit the webclient?
You see, I have this problem: I got that output before webclient stop
working doe to some strange (and unknown to me yet) problems, not when I
close my app. Webclient is ON for all lifetime of my app. And when using
it from time to time it crashes. With no apparent reason. But this can
not be the way, probably (well I'm pretty sure) I do something wrong.
But I do not know what.
Sometimes it's just freezes. Now that's due to a race condition that I'm
tacking down now. But sometimes crashes (app is closing) and I get the
output in question.
Best regards,
Remus Stratulat
P.S.
Thanks for the shutdown tip, I implemented that. I guess is not polite
to let things go down on their own when app closes. Specially native
things.
On Wed, 2003-01-22 at 14:02, michael Remme wrote:
> Hi Remus,
>
> had the same in my app, when i forgot to uninit a running browser before
> calling the method BrowserControlFactory.appTerminate(), like it is done in
> the example application of ed.
>
> I implemented a method, which is called, when a window is closed:
>
> private void shutdown(){
> browserCanvas.setVisible(false);
> BrowserControlFactory.deleteBrowserControl(browserControl);
> browserControl = null;
> browserCanvas = null;
> currentPage = null;
> bookmarks = null;
> }
>
> Since that time its ok
>
> Best, Michael
>
> Remus Stratulat wrote:
>
> > Got this before my app (which embed 1.3 webclient) stop working. Anybody
> > know (or guess) what could be the cause of this?
> >
> > debug: edburns: STATE_TRANSFERRING
> > ###!!! ASSERTION: attempted to open a new window with no WindowCreator:
> > 'mWindowCreator', file nsWindowWatcher.cpp, line 563
> > in BrowserControlCanvas setBounds: x = 0 y = 12 w = 989 h = 366
> > in BrowserControlCanvas setBounds: x = 0 y = 12 w = 989 h = 366
> > in BrowserControlCanvas setBounds: x = 0 y = 12 w = 989 h = 366
> > in BrowserControlCanvas setBounds: x = 0 y = 12 w = 989 h = 366
> >
> >
> > charset = ISO, file nsFontMetricsGTK.cpp, line 2025
> > debug: edburns: STATE_TRANSFERRING
> > ###!!! ASSERTION: nsFrameManager::GenerateStateKey didn't find content
> > by type!: 'index > -1', file nsFrameManager.cpp, line 2358
> > ###!!! Break: at file nsFrameManager.cpp, line 2358
> > debug: edburns: STATE_TRANSFERRING
> > debug: edburns: STATE_TRANSFERRING
> > debug: edburns: STATE_TRANSFERRING
> > WARNING:
> >
> > charset = ISO, file nsFontMetricsGTK.cpp, line 2025
> > debug: edburns: STATE_TRANSFERRING
> > ###!!! ASSERTION: nsFrameManager::GenerateStateKey didn't find content
> > by type!: 'index > -1', file nsFrameManager.cpp, line 2358
> >
> > Many thanks,
> > Remus Stratulat
> >
--
/**
* Remus Stratulat - KrysalIDE maintainer
* InterAkt Online.
*
* @web http://www.interakt.ro
*/