Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Summary: Use `select!` to detect if _either_ the tcpreceiver or subscriber tasks unexpectedly finishes. Previously we would first wait for the tcpreceiver task, which would block forever even if the workspacesubscriber task had exitted unexpectedly. I noticed my scm_daemon was not updating subscriptions properly when I changed workspace. The log file suggested the subscriber wasn't running at all, and this is my best guess how that can happen. Reviewed By: zzl0 Differential Revision: D68033878 fbshipit-source-id: 3933b7392d6e95ded8c9f66c29359123b380fd2a
- Loading branch information