mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-27 03:04:49 +03:00
added a notifications service
This commit is contained in:
@@ -512,24 +512,6 @@ namespace MediaBrowser.Common.Implementations
|
||||
Plugins = list;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Performs the pending restart.
|
||||
/// </summary>
|
||||
/// <returns>Task.</returns>
|
||||
public void PerformPendingRestart()
|
||||
{
|
||||
if (HasPendingRestart)
|
||||
{
|
||||
Logger.Info("Restarting the application");
|
||||
|
||||
Restart();
|
||||
}
|
||||
else
|
||||
{
|
||||
Logger.Info("PerformPendingRestart - not needed");
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Notifies that the kernel that a change has been made that requires a restart
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user