Skip to content

Commit

Permalink
Merge pull request #14 from grid-x/fix/remove_duplicate_reconnect
Browse files Browse the repository at this point in the history
fix(ocppj): remove duplicated reconnect handler call
  • Loading branch information
Marco Trettner authored Nov 25, 2022
2 parents e40e2fd + 0c1bf30 commit 938db1f
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions ocppj/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,4 @@ func (c *Client) onReconnected() {
c.onReconnectedHandler()
}
c.dispatcher.Resume()
if c.onReconnectedHandler != nil {
c.onReconnectedHandler()
}
}

0 comments on commit 938db1f

Please sign in to comment.