www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.dwt - print jface.resource.DeviceResourceManager whe program exit

reply yidabu <yidabu.spam gmail.com> writes:
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
parent Frank Benoit <keinfarbton googlemail.com> writes:
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
May 28 2008