vivth 1.4.8 → 1.4.9

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": "vivth",
3
- "version": "1.4.8",
3
+ "version": "1.4.9",
4
4
  "description": "library primitives",
5
5
  "main": "index.mjs",
6
6
  "types": "./types/index.d.mts",
@@ -269,6 +269,7 @@ export class WorkerMainThread {
269
269
  * @return {void}
270
270
  */
271
271
  terminate = () => {
272
+ this.postMessage(closeWorkerThreadEventObject);
272
273
  /**
273
274
  * this is more for browser, as most of this are automatically cleaned with `SafeExit`;
274
275
  */