Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
McsService: only send to the output stream if it is alive
The output stream handler thread might not be alive, this occurs reproducibly when connecting fails and a tear down is initiated. Messages shouldn't be sent when the output handler thread is not alive (triggers an expection which is catched but logged), this check avoids this unless some special race condition occurs. Dropping the messages shouldn't hurt (they were dropped anyway).
- Loading branch information