Skip to content

Commit 9ee18c0

Browse files
committed
[localcontroller] Do not delete initial CentralSystem::ChargePointProxy when creating a LocalController::ChargePointProxy using createFrom() method
1 parent d010af5 commit 9ee18c0

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/localcontroller/chargepoint/ChargePointProxy.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,6 @@ std::shared_ptr<IChargePointProxy> IChargePointProxy::createFrom(
5555

5656
// Associate both
5757
centralsystem->setChargePointProxy(proxy);
58-
59-
// Release original instance
60-
central_system_proxy.reset();
6158
}
6259

6360
return proxy;

0 commit comments

Comments
 (0)