May 28, 2008
when my jface ApplicationWindow based program exit, it prints:

dwt.widgets.Display.Display dwtx.jface.resource.DeviceResourceManager.DeviceResourceManager

what's the means?

the program not crashed, does it means some resource still not released ?

I'm not created such as Color、Cursor、Font、GC, and release images as fllows

public class MyWindow : ApplicationWindow
{
	...

    public bool close()
    {
        small_image.dispose;
        large_image.dispose;
        return super.close();
    }
	...
}





-- 
yidabu <yidabu.spam@gmail.com> http://www.dsource.org/projects/dwin

D 语言-中文(D Chinese): http://www.d-programming-language-china.org/ http://bbs.d-programming-language-china.org/ http://dwin.d-programming-language-china.org/ http://scite4d.d-programming-language-china.org/


May 28, 2008
yidabu schrieb:
> when my jface ApplicationWindow based program exit, it prints:
> 
> dwt.widgets.Display.Display dwtx.jface.resource.DeviceResourceManager.DeviceResourceManager
> 
> what's the means? 
> 
> the program not crashed, does it means some resource still not released ?
> 
> I'm not created such as Color、Cursor、Font、GC, and release images as fllows 
> 
> public class MyWindow : ApplicationWindow
> {
> 	...
> 
>     public bool close()
>     {
>         small_image.dispose;
>         large_image.dispose;
>         return super.close();
>     }
> 	...
> }
> 
> 
> 
> 
> 

Should be fixed with this:
http://www.dsource.org/projects/dwt-addons/changeset/81%3Ae28b067ce8c5