summaryrefslogtreecommitdiff
path: root/api/api.go
diff options
context:
space:
mode:
author Bryce Lee <brycelee@google.com> 2022-07-01 16:16:58 -0700
committer Bryce Lee <brycelee@google.com> 2022-07-01 16:16:58 -0700
commit834d0b2479914d99e0237cb023295fd4c1f28f68 (patch)
treefbeda0390a2fe25ce9a8cba9cd6016dc1bce404c /api/api.go
parent1c0ca5caae934bd53f521e5bc83ea0b7bae2e2a6 (diff)
Fix stop behavior in PersistentConnectionManager.
PersistentConnectionManager tries to maintain a connection whenever disconnected. Currently, there is no way to disconnect from this connection as the manually unbind is not treated any differently than any other disconnection. This change addresses this oversight by suppressing reconnect logic on manual unbinds. This change also fixes a callback issue where listeners were not informed about disconnects when manually unbound. Fixes: 237803638 Test: ObservableServiceConnectionTest#testUnbind Test: PersistentConnectionManagerTest#testStopDoesNotReconnect Change-Id: I0887e31754429cc02391df5783868d5c132a48eb
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions