Skip to content

Commit

Permalink
update on unsub too
Browse files Browse the repository at this point in the history
  • Loading branch information
buck54321 committed Oct 11, 2024
1 parent b61ca27 commit 5d2dec2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions client/mm/libxc/binance.go
Original file line number Diff line number Diff line change
Expand Up @@ -1924,6 +1924,8 @@ func (bnc *binance) UnsubscribeMarket(baseID, quoteID uint32) (err error) {
defer func() {
bnc.booksMtx.Unlock()

conn.UpdateURL(bnc.streamURL())

if closer != nil {
closer.Disconnect()
}
Expand Down

0 comments on commit 5d2dec2

Please sign in to comment.