Skip to content

Commit

Permalink
chore: update version (#175)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
github-actions[bot] and github-actions[bot] authored Mar 9, 2025
1 parent e1f811c commit 1ed4f4f
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 16 deletions.
7 changes: 0 additions & 7 deletions .changeset/calm-dingos-flow.md

This file was deleted.

8 changes: 0 additions & 8 deletions .changeset/shiny-lies-tap.md

This file was deleted.

12 changes: 12 additions & 0 deletions packages/useWorker/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# @koale/useworker

## 4.1.2

### Patch Changes

- 89b3d50: - fix: reject promises for workers that are about to be killed ([#170](https://github.com/alewin/useWorker/pull/170))

Reject promises for killed workers with AbortError to prevent memory leaks from dangling promises

- 89b3d50: - fix: mark worker as not running immediately after being killed ([#171](https://github.com/alewin/useWorker/pull/171))

Allows immediate worker restart after killing by updating running status synchronously instead of waiting for next render cycle.

## 4.1.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/useWorker/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@koale/useworker",
"version": "4.1.1",
"version": "4.1.2",
"description": "useWorker() - Web worker using React hook",
"author": "alewin",
"license": "MIT",
Expand Down

0 comments on commit 1ed4f4f

Please sign in to comment.