From 39c890ed2268b95efc60bc7c1d9d91acb2af38b8 Mon Sep 17 00:00:00 2001 From: Thilo Graf Date: Fri, 7 Dec 2018 21:41:19 +0100 Subject: [PATCH] neutrino.h: add signal OnShutDown was missed in context with similar OnBeforeRestart --- src/neutrino.cpp | 2 ++ src/neutrino.h | 1 + 2 files changed, 3 insertions(+) diff --git a/src/neutrino.cpp b/src/neutrino.cpp index 89f8ce157..c0849e5a6 100644 --- a/src/neutrino.cpp +++ b/src/neutrino.cpp @@ -3984,6 +3984,8 @@ void CNeutrinoApp::ExitRun(int exit_code) SDT_ReloadChannels(); dprintf(DEBUG_INFO, "exit\n"); + OnShutDown(); + StopSubtitles(); stopPlayBack(); diff --git a/src/neutrino.h b/src/neutrino.h index e7ef32541..6710dea30 100644 --- a/src/neutrino.h +++ b/src/neutrino.h @@ -229,6 +229,7 @@ public: bool adjustToChannelID(const t_channel_id channel_id); //signal/event handler before restart of neutrino gui sigc::signal OnBeforeRestart; + sigc::signal OnShutDown; sigc::signal OnAfterSetupFonts; void channelRezap();