Fixed switch-off on shutdown

Former-commit-id: 25438c11a3fdb14c89f946d02893a257aada67ea
This commit is contained in:
T. van der Zwan 2014-09-30 21:00:42 +02:00
parent 654f6416ea
commit d1f043f233
2 changed files with 3 additions and 1 deletions

View File

@ -1 +1 @@
f8d592fd55a3ca744f582c960dcde3aaa0afe5c0 e1ca70a63f1ce9b6975aab98b8eb6ae1a353df14

View File

@ -26,6 +26,8 @@ LinearColorSmoothing::LinearColorSmoothing(
LinearColorSmoothing::~LinearColorSmoothing() LinearColorSmoothing::~LinearColorSmoothing()
{ {
// Make sure to switch off the underlying led-device (because switchOff is no longer forwarded)
_ledDevice->switchOff();
delete _ledDevice; delete _ledDevice;
} }