Skip to content

fix: correct watcher lifecycle and endpoint matching - #46

Merged
rossigee merged 2 commits into
masterfrom
feature/desktop-notifications
Oct 15, 2026
Merged

rossigee merged 2 commits into
masterfrom
feature/desktop-notifications

Conversation

@rossigee

Copy link
Copy Markdown
Owner
  • Remove defer watcher.Close() to keep watchers alive
  • Use u.Host instead of u.Hostname() for endpoint matching
  • Check for both Create and Write events
  • Add outboundClose() for proper shutdown

- Remove defer watcher.Close() to keep watchers alive
- Use u.Host instead of u.Hostname() for endpoint matching
- Check for both Create and Write events
- Add outboundClose() for proper shutdown
@rossigee
rossigee merged commit f505d66 into master Oct 15, 2026
12 checks passed
@rossigee
rossigee deleted the feature/desktop-notifications branch October 15, 2026 13:47
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