Reputation: 7894
The AWT-EventQueue thread and AWT-Shutdown thread are not shutting down in our application. Is there a debugging technique for finding out why they are not? Any special things to look for?
Upvotes: 3
Views: 3701
Reputation: 10519
If you mean that the JVM doesn't exit properly after closing all windows, then look at the following points:
Window.getWindows()
Thread
(except daemons) after disposing of all windowsSystem.exit(0)
(that's a known bug of JWS)Hope this helps answer your question.
Besides, there was also this SO question recently about garbage collection of Swing windows.
Upvotes: 6