CFlashTool::erase - shutdown sectionsd before erase flash

Origin commit data
------------------
Branch: ni/coolstream
Commit: 412d430ed0
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2013-06-01 (Sat, 01 Jun 2013)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
Jacek Jendrzej
2013-06-01 15:04:46 +02:00
parent f39b142900
commit 6ba9297c4b

View File

@@ -25,6 +25,7 @@
#include <libmd5sum.h>
#include <system/flashtool.h>
#include <eitd/sectionsd.h>
#include <stdio.h>
#include <unistd.h>
@@ -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();