Skip to content

Pin the watcher forwarder's exit - #58

Merged
MelbourneDeveloper merged 1 commit into
mainfrom
test/handle-pins
Nov 18, 2026
Merged

MelbourneDeveloper merged 1 commit into
mainfrom
test/handle-pins

Conversation

@MelbourneDeveloper

Copy link
Copy Markdown
Collaborator

This adds a test, no behaviour change. It proves that FileWatcher's unowned forwarder thread ends once the native watcher is dropped: the thread releases its sender, and the stream ends. That backs the plan doc's finding that this LOW handle is not a leak. The plan doc now names this test, and the existing forget test for the queue that drains closed documents.

@MelbourneDeveloper
MelbourneDeveloper merged commit 4ddb4a6 into main Nov 18, 2026
10 checks passed
@MelbourneDeveloper
MelbourneDeveloper deleted the test/handle-pins branch November 18, 2026 12:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant