From 9a364075ab64ccbd21b84d30a8c2cf1bcce9e424 Mon Sep 17 00:00:00 2001 From: svenhoefer Date: Wed, 25 Oct 2017 00:05:16 +0200 Subject: [PATCH] - update: fix osd flickering Signed-off-by: Thilo Graf --- src/gui/update.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/gui/update.cpp b/src/gui/update.cpp index 15da2a477..ffc1bb782 100644 --- a/src/gui/update.cpp +++ b/src/gui/update.cpp @@ -628,6 +628,12 @@ int CFlashUpdate::exec(CMenuTarget* parent, const std::string &actionKey) #ifndef DRYRUN my_system(3, ofgwrite_tgz, g_settings.update_dir.c_str(), filename.c_str()); #endif + /* + ofgwrite is killing Neutrino. + So we stay here and wait for our end. This avoids osd flickering. + */ + while (true) + sleep(1); } #endif else // not image, install