[Tizen Application-dev] destroy the image

Hiroki Minagawa h_minagawa at pcp.co.jp
Wed Nov 27 13:05:24 GMT 2013


Are you generating images dynamically? Like, Bitmaps?
Or, you just have a limited amount of image resources in your whole app package?
If you are not generating images dynamically,
you may want to define them all at once, and re-use them whenever needed...
It is Javascript after all, and you never know when they are garbage collected...

On Tue, 26 Nov 2013 09:31:33 +0700
Hiroki Minagawa <h_minagawa at pcp.co.jp> wrote:

> Oh, Zhang. You are dealing with something impossible...
> If not necessary to create new Image,
> why don't to look for another way to accomplish the same result?
> On Mon, 25 Nov 2013 01:57:11 +0000
> "Li, Hao H" <hao.h.li at intel.com> wrote:
> > You might try delete img;
> > 
> > From: application-dev-bounces at lists.tizen.org [mailto:application-dev-bounces at lists.tizen.org] On Behalf Of zhangcs_423
> > Sent: Saturday, November 23, 2013 10:04 PM
> > To: application-dev at lists.tizen.org
> > Subject: [Tizen Application-dev] destroy the image
> > 
> > hi,all
> > How can I to destroy the image immediately in web application?
> > var img = new Image();
> > Now I set img=null,but I want to release the memory immediately.

More information about the Application-dev mailing list