From 3a02adfb4003a76ea6a66b2fcacb87b2d24da6ba Mon Sep 17 00:00:00 2001 From: "[CST] Focus" Date: Tue, 15 Dec 2015 17:20:34 +0300 Subject: [PATCH] neutrino.cpp: try to fix stopping by signal while playback in progress Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/72efa20dfafa6e090e2eb4ea271a2cb764b71e21 Author: [CST] Focus Date: 2015-12-15 (Tue, 15 Dec 2015) ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- src/neutrino.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/neutrino.cpp b/src/neutrino.cpp index 5c1b16d2e..905ce3f57 100644 --- a/src/neutrino.cpp +++ b/src/neutrino.cpp @@ -4062,8 +4062,9 @@ void stop_daemons(bool stopall, bool for_flash) videoDecoder->SetCECMode((VIDEO_HDMI_CEC_MODE)0); } - CZapit::getInstance()->Stop(); delete &CMoviePlayerGui::getInstance(); + + CZapit::getInstance()->Stop(); printf("zapit shutdown done\n"); if (!for_flash) { CVFD::getInstance()->Clear();