From 0c1bf30ba4d18e0042998b41cf8904e5b2cc19d4 Mon Sep 17 00:00:00 2001 From: Marco Trettner Date: Fri, 25 Nov 2022 13:31:29 +0100 Subject: [PATCH] fix(ocppj): remove duplicated reconnect handler call --- ocppj/client.go | 3 --- 1 file changed, 3 deletions(-) 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() - } }