We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b3a093f commit 2553b0dCopy full SHA for 2553b0d
src/localcontroller/chargepoint/ChargePointProxy.cpp
@@ -88,14 +88,11 @@ ChargePointProxy::ChargePointProxy(const std::string&
88
/** @brief Destructor */
89
ChargePointProxy::~ChargePointProxy()
90
{
91
- if (m_rpc->isConnected())
92
- {
93
- // Disconnect from the charge point
94
- m_rpc->disconnect(false);
+ // Disconnect from the charge point
+ m_rpc->disconnect(false);
95
96
- // Disconnect from the central system
97
- m_central_system->disconnect();
98
- }
+ // Disconnect from the central system
+ m_central_system->disconnect();
99
}
100
101
// IChargePointProxy interface
0 commit comments