Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-swt-dev] Webstart process fails to terminate (Win32 SWT 3044)


Which platform is this? win32 should clean up automagically but I've seen problems on pocket pc where the window procs must be terminated explicitly (by correctly disposing your widgets) or they prevent the vm from shutting down cleanly.

-Jesse



Steve Northover <Steve_Northover@xxxxxxxxxx>
Sent by: platform-swt-dev-admin@xxxxxxxxxxx

05/14/2004 11:00 AM

Please respond to
platform-swt-dev

To
platform-swt-dev@xxxxxxxxxxx
cc
Subject
Re: [platform-swt-dev] Webstart process fails to terminate (Win32 SWT 3044)






SWT absolutely does not create any threads on your behalf.  When you exit, resources are automatically reclaimed by the operating system.



"Jason Sando" <jsando@xxxxxxxxxxxxxx>
Sent by: platform-swt-dev-admin@xxxxxxxxxxx

05/14/2004 01:48 PM

Please respond to
platform-swt-dev

To
<platform-swt-dev@xxxxxxxxxxx>
cc
Subject
[platform-swt-dev] Webstart process fails to terminate (Win32 SWT 3044)








I'm deploying a SWT application via webstart.  When the application exits,
the webstart process (javaw.exe) was failing to terminate, such that when I
deployed an updated version of the application and tried to launch it, it
couldn't unpack the DLL jarfile, because the old copy of the .dll's were
still in use.

I used Sleak to find resource disposal problems and found I wasn't disposing
my images, fonts, and colors, and now I think the problem has been
corrected.

I also dropped back to Sun JRE 1.4.2_04, whereas I had been testing on Sun
1.5.0.

When I run the application from the command line I don't have this problem,
the Java runtime exits normally.

So here's the question: is there a daemon thread or something that continues
running in SWT until I free up ALL of my resources?  Why would this
application exit when run standalone but not under Webstart?

Thanks,

- Jason

_______________________________________________
platform-swt-dev mailing list
platform-swt-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/platform-swt-dev



Back to the top