Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
lib/protocol: Ensure starting & closing a connection are exclusive (f…
…ixes syncthing#9102) (syncthing#9103) In principle a connection can close while it's in progress with starting, and then it's undefined if we wait for goroutines to exit etc. With this change, we will wait for start to complete before starting to stop everything.
- Loading branch information