File tree 2 files changed +5
-8
lines changed
src/localcontroller/chargepoint
2 files changed +5
-8
lines changed Original file line number Diff line number Diff line change 5
5
cmake_minimum_required (VERSION 3.13)
6
6
7
7
project (OpenOCPP DESCRIPTION "Open Source C++ implementation of the OCPP 1.6 protocol"
8
- VERSION 1.5.4
8
+ VERSION 1.5.5
9
9
)
10
10
11
11
# Definitions for Version.h file
Original file line number Diff line number Diff line change @@ -88,14 +88,11 @@ ChargePointProxy::ChargePointProxy(const std::string&
88
88
/* * @brief Destructor */
89
89
ChargePointProxy::~ChargePointProxy ()
90
90
{
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 );
95
93
96
- // Disconnect from the central system
97
- m_central_system->disconnect ();
98
- }
94
+ // Disconnect from the central system
95
+ m_central_system->disconnect ();
99
96
}
100
97
101
98
// IChargePointProxy interface
You can’t perform that action at this time.
0 commit comments