On the file buffer.ts navigate to the method Buffer#rebuild
I found
public _rebuild(): void {
this._buffer = null;
this.create(this._data);
}
Maybe this will create a new WebGLBuffer lead js untrack WebGLBuffer ?
but I think WebGLBuffer even untrack by javascript,It should still call the gl.deleteBuffer
I have found the behavior in the dispose method
maybe we should call dispose first?