Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add mutual exclusion on Agent between xmpp::StateMachine and io::Read…
…erTask. TCP close event on a session is handled by xmpp::StateMachine task and reads handled by io::ReaderTask, hence both tasks can be accessing the same session at the same time and xmpp::StateMachine destroying the session while io::ReaderTask reading it. Change-Id: I09fbdf9b9ea6c31fb6072e7e2f8d40510f32dc03 Closes-Bug:1560242
- Loading branch information
Showing
2 changed files
with
6 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters