Skip to content

Commit

Permalink
Move definition of device_model to let destructor of connectivity man…
Browse files Browse the repository at this point in the history
…ager execute befroe the one of the device_model (#777)

Signed-off-by: pietfried <[email protected]>
  • Loading branch information
Pietfried authored Sep 9, 2024
1 parent 591c978 commit 70b67a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/ocpp/v201/charge_point.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -418,12 +418,12 @@ class ChargePointInterface {
class ChargePoint : public ChargePointInterface, private ocpp::ChargingStationBase {

private:
std::shared_ptr<DeviceModel> device_model;
std::unique_ptr<EvseManager> evse_manager;
std::unique_ptr<ConnectivityManager> connectivity_manager;

// utility
std::shared_ptr<MessageQueue<v201::MessageType>> message_queue;
std::shared_ptr<DeviceModel> device_model;
std::shared_ptr<DatabaseHandler> database_handler;

std::map<int32_t, AvailabilityChange> scheduled_change_availability_requests;
Expand Down

0 comments on commit 70b67a9

Please sign in to comment.