From 7ac8db94c29e98b272760b321be83fd38f78d0d0 Mon Sep 17 00:00:00 2001 From: "[CST] Focus" Date: Thu, 3 May 2012 17:28:55 +0400 Subject: [PATCH] zapit/src/zapit.cpp: delete eventServer, g_bouquetManager, CServiceManager, CServiceScan Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/63d869922c1f7980ecd7e5ed3e881b5245d3cb75 Author: [CST] Focus Date: 2012-05-03 (Thu, 03 May 2012) --- src/zapit/src/zapit.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/zapit/src/zapit.cpp b/src/zapit/src/zapit.cpp index 83dd5f248..ab874c4b7 100644 --- a/src/zapit/src/zapit.cpp +++ b/src/zapit/src/zapit.cpp @@ -2155,6 +2155,13 @@ void CZapit::run() ca->Stop(); delete ca; } +#ifdef EXIT_CLEANUP + INFO("cleanup..."); + delete eventServer; + delete g_bouquetManager; + delete CServiceManager::getInstance(); + delete CServiceScan::getInstance(); +#endif INFO("shutdown complete"); return; }