mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 17:01:15 +02:00
zapit: fix ordering of cleanup stuff
This commit is contained in:
@@ -2537,13 +2537,6 @@ void CZapit::run()
|
|||||||
|
|
||||||
INFO("demuxes/decoders deleted");
|
INFO("demuxes/decoders deleted");
|
||||||
|
|
||||||
delete CFEManager::getInstance();
|
|
||||||
INFO("frontend(s) deleted");
|
|
||||||
if (ca) {
|
|
||||||
INFO("stopping CA");
|
|
||||||
ca->Stop();
|
|
||||||
delete ca;
|
|
||||||
}
|
|
||||||
#ifdef EXIT_CLEANUP
|
#ifdef EXIT_CLEANUP
|
||||||
INFO("cleanup...");
|
INFO("cleanup...");
|
||||||
delete eventServer;
|
delete eventServer;
|
||||||
@@ -2551,6 +2544,13 @@ void CZapit::run()
|
|||||||
delete CServiceManager::getInstance();
|
delete CServiceManager::getInstance();
|
||||||
delete CServiceScan::getInstance();
|
delete CServiceScan::getInstance();
|
||||||
#endif
|
#endif
|
||||||
|
delete CFEManager::getInstance();
|
||||||
|
INFO("frontend(s) deleted");
|
||||||
|
if (ca) {
|
||||||
|
INFO("stopping CA");
|
||||||
|
ca->Stop();
|
||||||
|
delete ca;
|
||||||
|
}
|
||||||
INFO("shutdown complete");
|
INFO("shutdown complete");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user