mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-04-13 13:52:16 +01:00
added CanSelfRestart
This commit is contained in:
@@ -21,5 +21,17 @@ namespace MediaBrowser.ServerApplication.Native
|
||||
{
|
||||
MainStartup.Restart();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Determines whether this instance [can self restart].
|
||||
/// </summary>
|
||||
/// <returns><c>true</c> if this instance [can self restart]; otherwise, <c>false</c>.</returns>
|
||||
public static bool CanSelfRestart
|
||||
{
|
||||
get
|
||||
{
|
||||
return MainStartup.CanSelfRestart;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user