I think 'destroying' storagePath should be public for further management issues. (Not enough disk space…) If some destroying function is to be public, I think that corresponding creating function should be public.

2013. 9. 6., 오후 3:43, 성 낙호 <deif79@gmail.com> 작성:

> _shouldDeleteDelegateWhenExit is set by AssetsManager::create function. Is is necessary for deleting anonymous class used by JSB.
> 
> 2013. 9. 6., 오후 3:42, 성 낙호 <deif79@gmail.com> 작성:
> 
>> In order to manage its life-cycle within Javascript, some ref-cnt scheme should be involved. AFAIK, extending some object from Node and attaching it into scene-graph, life-cycle management comes for free. 
>> 
>> 2013. 9. 6., 오후 3:39, James Chen <notifications@github.com> 작성:
>> 
>>> In extensions/AssetsManager/AssetsManager.h:
>>> 
>>> > @@ -41,7 +41,7 @@
>>> >   *  The updated package should be a zip file. And there should be a file named
>>> >   *  version in the server, which contains version code.
>>> >   */
>>> > -class AssetsManager
>>> > +class AssetsManager : public Node
>>> Why does AssetsMangager inherit from Node?
>>> 
>>> —
>>> Reply to this email directly or view it on GitHub.
>>> 
>> 
>