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) { }