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");
|
||||
|
||||
delete CFEManager::getInstance();
|
||||
INFO("frontend(s) deleted");
|
||||
if (ca) {
|
||||
INFO("stopping CA");
|
||||
ca->Stop();
|
||||
delete ca;
|
||||
}
|
||||
#ifdef EXIT_CLEANUP
|
||||
INFO("cleanup...");
|
||||
delete eventServer;
|
||||
@@ -2551,6 +2544,13 @@ void CZapit::run()
|
||||
delete CServiceManager::getInstance();
|
||||
delete CServiceScan::getInstance();
|
||||
#endif
|
||||
delete CFEManager::getInstance();
|
||||
INFO("frontend(s) deleted");
|
||||
if (ca) {
|
||||
INFO("stopping CA");
|
||||
ca->Stop();
|
||||
delete ca;
|
||||
}
|
||||
INFO("shutdown complete");
|
||||
return;
|
||||
}
|
||||
|
Reference in New Issue
Block a user