You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(console): prevent deadlock in author new --switch (#2032)
## Description
Fixes#2024
This was caused by a read attempt over a lock nested inside a write
lock. Thw write lock being `let mut inner = self.0.write()` and the read
lock in `self.iroh_data_dir()`
## Notes & open questions
I checked the rest of the code in #2013 and I think `author new
--switch` is the only command affected
## Change checklist
- [ ] Self-review.
- [ ] Documentation updates if relevant.
- [ ] Tests if relevant.
0 commit comments