Description[Remoting Android] Releases |secret_fetcher_| in DisconnectFromHost()
In some situations the same JniClient will be used for multiple connections
where ConnectToHost()->DisconnectFromHost()->ConnectToHost() will be called.
In ConnectToHost() we DCHECK !secret_fetcher_ but don't release it in
DisconnectFromHost(), which fails the DCHECK.
This CL solves this problem by resetting |secret_fetcher_| in
DisconnectFromHost(). However, we still need to investigate why JniClient
is being used for multiple connections.
BUG=617471
Committed: https://crrev.com/909aa6b2ac08abe5d75cdb5050c979c29ef451e3
Cr-Commit-Position: refs/heads/master@{#398085}
Patch Set 1 #
Messages
Total messages: 8 (3 generated)
|