digitalmars.D.dwt - print jface.resource.DeviceResourceManager whe program exit
- yidabu (24/24) May 28 2008 when my jface ApplicationWindow based program exit, it prints:
- Frank Benoit (3/30) May 28 2008 Should be fixed with this:
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
May 28 2008








Frank Benoit <keinfarbton googlemail.com>