mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2025-03-01 10:33:28 +00:00
destroy grabbers and other stuff on hyperiond restart via webui (#375)
* remove obsolete kodi code for grabbers * destroy grabbers and other stuff on hyperiond restart via webui
This commit is contained in:
@@ -27,6 +27,8 @@ GrabberWrapper::GrabberWrapper(std::string grabberName, const int priority, hype
|
||||
|
||||
GrabberWrapper::~GrabberWrapper()
|
||||
{
|
||||
stop();
|
||||
Debug(_log,"Close grabber: %s", _grabberName.c_str());
|
||||
delete _processor;
|
||||
}
|
||||
|
||||
|
@@ -449,6 +449,8 @@ Hyperion::Hyperion(const QJsonObject &qjsonConfig, const QString configFile)
|
||||
|
||||
void Hyperion::freeObjects()
|
||||
{
|
||||
emit closing();
|
||||
|
||||
// switch off all leds
|
||||
clearall();
|
||||
_device->switchOff();
|
||||
|
Reference in New Issue
Block a user