Add missing destroy() to avoid error when destroying

This commit is contained in:
nathangray
2020-02-12 13:19:52 -07:00
parent fa95142954
commit 1d4bcc2cab
2 changed files with 16 additions and 0 deletions

View File

@ -53,6 +53,15 @@ export class et2_dataview_rowProvider
this._createLoadingPrototype();
}
public destroy()
{
this._template = null;
this._mgrs = null;
this._rootWidget = null;
this._prototypes = {};
this._columnIds = [];
}
public getColumnCount()
{
return this._columnIds.length;