[Java-gnome-developer] Use of destroy()
Brought to you by:
afcowie
From: Laurent M. <la...@ao...> - 2004-10-27 12:54:29
|
Hi, I've spent a few hours tracking down a bug in my application. It crashed the JVM when I used escape to close a dialog. It turned out I had a DialogListener which called destroy() on the dialog. It was really a bad idea because gtk still had references on this dialog. So I'm wondering if it's a good idea to have that destroy() method in the java API. It does not seem to be used internally by java-gnome and can only give opportunities to the java developper to crash the JVM. -- Laurent Martelli la...@ao... Java Aspect Components http://www.aopsys.com/ http://jac.objectweb.org |