mirror of
https://github.com/m1k1o/neko.git
synced 2025-08-02 00:10:07 +02:00
reset _total_reconnects on open.
This commit is contained in:
parent
3fa0831f43
commit
0554b69d82
1 changed files with 1 additions and 0 deletions
|
@ -123,6 +123,7 @@ export class Reconnector extends EventEmitter<ReconnectorEvents> {
|
|||
|
||||
if (!this._open) {
|
||||
this._open = true
|
||||
this._total_reconnects = 0
|
||||
this.emit('open')
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue