@pirireis/webglobeplugins 1.4.2 → 1.4.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pirireis/webglobeplugins",
3
- "version": "1.4.2",
3
+ "version": "1.4.3",
4
4
  "main": "index.js",
5
5
  "author": "Toprak Nihat Deniz Ozturk",
6
6
  "license": "MIT",
@@ -201,7 +201,7 @@ class PointTracksPlugin {
201
201
  flush() {
202
202
  const capacity = 100;
203
203
  this._bufferOrchestrator?.flush({ capacity });
204
- this._StorageManagersMap.forEach(({ bufferManager }) => bufferManager.free());
204
+ this._StorageManagersMap.forEach(({ bufferManager }) => bufferManager.resetWithCapacity(capacity));
205
205
  this._turnOffFocus();
206
206
  this._tracksToPointsMap.clear();
207
207
  this.globe?.DrawRender();