From 412d430ed0909fd74c6ad84acf7f585193de4056 Mon Sep 17 00:00:00 2001 From: Jacek Jendrzej Date: Sat, 1 Jun 2013 15:04:46 +0200 Subject: [PATCH] CFlashTool::erase - shutdown sectionsd before erase flash --- src/system/flashtool.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/system/flashtool.cpp b/src/system/flashtool.cpp index 13f4a4580..c4da668f4 100644 --- a/src/system/flashtool.cpp +++ b/src/system/flashtool.cpp @@ -25,6 +25,7 @@ #include #include +#include #include #include @@ -310,6 +311,10 @@ bool CFlashTool::erase(int globalProgressEnd) return false; } + printf("sectionsd shutdown\n"); + CEitManager::getInstance()->Stop(); + printf("sectionsd shutdown done\n"); + if(statusViewer) globalProgressBegin = statusViewer->getGlobalStatus();