From b2155ff693bc646d1f841cc4617c2e22cbf96bef Mon Sep 17 00:00:00 2001 From: Edouard DUPIN Date: Mon, 13 Feb 2017 22:37:58 +0100 Subject: [PATCH] [DEBUG] Missing init m_periodic --- esignal/Base.cpp | 1 + esignal/Base.hpp | 1 + 2 files changed, 2 insertions(+) diff --git a/esignal/Base.cpp b/esignal/Base.cpp index c7674a7..7bfbc8a 100644 --- a/esignal/Base.cpp +++ b/esignal/Base.cpp @@ -38,6 +38,7 @@ esignal::Base::Base() : m_data(nullptr) { } + esignal::Base::~Base() { m_data.reset(); } diff --git a/esignal/Base.hpp b/esignal/Base.hpp index a1d9454..caf14f0 100644 --- a/esignal/Base.hpp +++ b/esignal/Base.hpp @@ -36,6 +36,7 @@ namespace esignal { * @param[in] _countObs Observer on the number of connection availlable */ BaseInternal(ObserverConnection _countObs) : + m_periodic(false), m_connectionObserver(_countObs) { }