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();