diff --git a/src/neutrino.cpp b/src/neutrino.cpp index 4811dcdee..1e8ccc537 100644 --- a/src/neutrino.cpp +++ b/src/neutrino.cpp @@ -4206,6 +4206,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 7be01b0df..d3cbcee1a 100644 --- a/src/neutrino.h +++ b/src/neutrino.h @@ -231,6 +231,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();