# bunqueue v2.6.102

Fixes 1 bug. Event subscription leak on HTTP server shutdown: queueManager.subscribe() returned an unsubscribe function that was discarded.

Canonical: https://bunqueue.dev/blog/bunqueue-v2-6-102/

---

<!-- Generated from changelog.md by docs/scripts/generate-release-posts.ts. Edit the changelog and regenerate. -->

Fixes 1 bug. Event subscription leak on HTTP server shutdown: queueManager.subscribe() returned an unsubscribe function that was discarded.

#### To install bunqueue v2.6.102

```bash title="bun"
bun add bunqueue@2.6.102
```

```bash title="npm"
npm install bunqueue@2.6.102
```

#### To upgrade bunqueue

```bash
bun add bunqueue@latest
```

## Bugfixes

- **Event subscription leak on HTTP server shutdown**: `queueManager.subscribe()` returned an unsubscribe function that was discarded. On `stop()`, the subscription remained active, preventing garbage collection. Now properly unsubscribed during shutdown.

---

[← bunqueue v2.6.101](https://bunqueue.dev/blog/bunqueue-v2-6-101/) · [Release on GitHub](https://github.com/egeominotti/bunqueue/releases/tag/v2.6.102) · [Commits since v2.6.101](https://github.com/egeominotti/bunqueue/compare/v2.6.101...v2.6.102) · [Full changelog](https://bunqueue.dev/changelog/) · [All posts](https://bunqueue.dev/blog/)
