protected override void OnDestroy() { if (itemPool != null) { itemPool.Purge(); } }
protected override void OnDestroy() { #if USE_LUA_FRAMEWORK if (dataType == DataSourceType.Lua && luaData != null) { luaData.Dispose(); } if (updateFuncLua != null) { updateFuncLua.Dispose(); } if (itemSizeFuncLua != null) { itemSizeFuncLua.Dispose(); } #endif if (itemPool != null) { itemPool.Purge(); } }