grid's clearAll() has memory leak.

if dhtmlxGrid is in a hidden dom tree, call clearAll() will indirectly call this.setSizes(), in setSizes() will call

this._sizeTime = window.setTimeout(function() { try { c.setSizes && c.setSizes(); } catch (e) {} }, 250);

this._sizeTime will never be cleared if dhtmlxGrid is in a hidden dom tree, so the dhtmlxGrid will never be released, this will cause a memory leak.

thanks!

When grid is destroyed ( grid.destructor() or when a different content attached to the grid’s cell ) the timer is correctly removed

destructor:function(){ if (this._sizeTime) this._sizeTime=window.clearTimeout(this._sizeTime);

i see, i used the wrong method to destory the grid.
thanks!