diff --git a/ocppj/client.go b/ocppj/client.go index c05bdf4a..cdbf16b9 100644 --- a/ocppj/client.go +++ b/ocppj/client.go @@ -250,7 +250,4 @@ func (c *Client) onReconnected() { c.onReconnectedHandler() } c.dispatcher.Resume() - if c.onReconnectedHandler != nil { - c.onReconnectedHandler() - } }