Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* CBL-2410: Don't tear down response timer in timeout situation If onClose is reached with _timedOut being true, then that means not only did the timer already fire and tearing it down is extraneous at this point, but it is almost certainly the case that this method is reached synchronously from the timer callback via timer -> close/requestClose -> platform -> onClose. This means that it is a hang situation in which the timer waits forever for its callback to finish, and the callback is waiting for the current method to finish. Co-authored-by: Jim Borden <jim.borden@couchbase.com> Cherry-picked from 4f8d51a on the branch of hotfix/2.8.7
- Loading branch information
1 parent
70ad191
commit 69ffc08
Showing
2 changed files
with
57 additions
and
2 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