Skip to content

Commit 5220965

Browse files
authored
Merge pull request #216 from c-jimenez/develop
Release 1.5.5
2 parents 723974b + d527632 commit 5220965

File tree

2 files changed

+5
-8
lines changed

2 files changed

+5
-8
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
cmake_minimum_required(VERSION 3.13)
66

77
project(OpenOCPP DESCRIPTION "Open Source C++ implementation of the OCPP 1.6 protocol"
8-
VERSION 1.5.4
8+
VERSION 1.5.5
99
)
1010

1111
# Definitions for Version.h file

src/localcontroller/chargepoint/ChargePointProxy.cpp

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -88,14 +88,11 @@ ChargePointProxy::ChargePointProxy(const std::string&
8888
/** @brief Destructor */
8989
ChargePointProxy::~ChargePointProxy()
9090
{
91-
if (m_rpc->isConnected())
92-
{
93-
// Disconnect from the charge point
94-
m_rpc->disconnect(false);
91+
// Disconnect from the charge point
92+
m_rpc->disconnect(false);
9593

96-
// Disconnect from the central system
97-
m_central_system->disconnect();
98-
}
94+
// Disconnect from the central system
95+
m_central_system->disconnect();
9996
}
10097

10198
// IChargePointProxy interface

0 commit comments

Comments
 (0)