fix(single-instance): Yield unix listener in macos (#3466)

* Use tokio UnixListener so the task can yield and release the thread

* use standard unix listener, convert to non blocking and cast into tokio yielding one

* Create fix-yield-single-instance-macos.md

* Update .changes/fix-yield-single-instance-macos.md

Co-authored-by: Fabian-Lars <30730186+FabianLars@users.noreply.github.com>

* use net feature in Tokio dependency

* Use tokio UnixListener::bind, inside the tokio task

---------

Co-authored-by: Fabian-Lars <30730186+FabianLars@users.noreply.github.com>
This commit is contained in:
Bajoca
2026-06-29 11:00:59 +02:00
committed by GitHub
parent 41f6274270
commit d157387722
4 changed files with 38 additions and 33 deletions
@@ -0,0 +1,4 @@
---
"single-instance": patch
---
Fix blocked thread on the single-instance plugin for MacOS: replace standard `UnixListener` with `tokio::net::UnixListener`, so the task can yield.