|SWT Resources RAP [message #1007236]
||Tue, 05 February 2013 08:17
| Tiburon T
Registered: October 2011
I am uncertain on how to handle Resources like Image, Color and Font in RAP. As far as I know they have to be disposed by the creator in SWT, because native OS resources are used.
Now I am wondering, if disposing of these resources is necessary in RAP, too. If they need to be disposed, I would also like to know if they are allocated seperately for each user session or only once for the whole application.
I took a look at org.eclipse.swt.graphics.Image in my RAP workspace and the destroy() method is actually empty, but the documentation of Resource still says: "Applications must dispose of all resources which they allocate."
Powered by FUDForum
. Page generated in 0.04365 seconds