mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-10 09:11:55 +00:00
binance: emit disconnect
This commit is contained in:
parent
6d249cf83c
commit
c95e712420
|
@ -366,6 +366,8 @@ func (s *Stream) read(ctx context.Context) {
|
|||
log.Info("websocket connection closed, going away")
|
||||
}
|
||||
|
||||
s.EmitDisconnect()
|
||||
|
||||
// reconnect
|
||||
for err != nil {
|
||||
select {
|
||||
|
|
Loading…
Reference in New Issue
Block a user