Skip to content

Commit 1637a7e

Browse files
committed
Destructor Logging
1 parent c64bf15 commit 1637a7e

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

libsrc/hyperion/LinearColorSmoothing.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ LinearColorSmoothing::LinearColorSmoothing(const QJsonObject &config, Hyperion *
8686
}
8787
LinearColorSmoothing::~LinearColorSmoothing()
8888
{
89+
qDebug() << "LinearColorSmoothing::~LinearColorSmoothing()...";
8990
}
9091

9192
void LinearColorSmoothing::start()

libsrc/hyperion/PriorityMuxer.cpp

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ PriorityMuxer::PriorityMuxer(int ledCount, QObject * parent)
2727
, _manualSelectedPriority(MANUAL_SELECTED_PRIORITY)
2828
, _prevVisComp (hyperion::Components::COMP_COLOR)
2929
, _sourceAutoSelectEnabled(true)
30-
, _updateTimer(new QTimer(this))
31-
, _timer(new QTimer(this))
32-
, _blockTimer(new QTimer(this))
30+
, _updateTimer(nullptr)
31+
, _timer(nullptr)
32+
, _blockTimer(nullptr)
3333
{
3434
QString subComponent = parent->property("instance").toString();
3535
_log= Logger::getInstance("MUXER", subComponent);
@@ -50,6 +50,7 @@ PriorityMuxer::PriorityMuxer(int ledCount, QObject * parent)
5050

5151
PriorityMuxer::~PriorityMuxer()
5252
{
53+
qDebug() << "PriorityMuxer::~PriorityMuxer()...";
5354
}
5455

5556
void PriorityMuxer::start()

libsrc/leddevice/LedDeviceWrapper.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ LedDeviceWrapper::LedDeviceWrapper(Hyperion* hyperion)
3737

3838
LedDeviceWrapper::~LedDeviceWrapper()
3939
{
40+
qDebug() << "LedDeviceWrapper::~LedDeviceWrapper()...";
4041
}
4142

4243
void LedDeviceWrapper::createLedDevice(const QJsonObject& config)

0 commit comments

Comments
 (0)