Saving MAFileModel to filesystem
Damien Cassou
damien.cassou at laposte.net
Tue Sep 26 20:58:31 MEST 2006
Chad Nantais a écrit :
> Cool. Thanks, Damien.
>
> One quick question. How would I remove the file's data from the
> contents variable so it does not hang around the image? Would it be
> good enough to just set the contents variable to nil once the file is
> saved to the directory?
You can set the contents variable to nil but I think doing nothing will
work too. Your MAFileModel, if not stored, will be garbage collected
sonner or later.
--
Damien Cassou
More information about the SmallWiki
mailing list