mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-23 09:14:45 +03:00
improve restart code after port change
This commit is contained in:
@@ -201,7 +201,7 @@ namespace MediaBrowser.Common.Implementations
|
||||
|
||||
Task.Run(() => ConfigureAutoRunAtStartup());
|
||||
|
||||
ConfigurationManager.ConfigurationUpdated += ConfigurationManager_ConfigurationUpdated;
|
||||
ConfigurationManager.ConfigurationUpdated += OnConfigurationUpdated;
|
||||
});
|
||||
}
|
||||
|
||||
@@ -459,7 +459,7 @@ namespace MediaBrowser.Common.Implementations
|
||||
/// <param name="sender">The source of the event.</param>
|
||||
/// <param name="e">The <see cref="EventArgs" /> instance containing the event data.</param>
|
||||
/// <exception cref="System.NotImplementedException"></exception>
|
||||
void ConfigurationManager_ConfigurationUpdated(object sender, EventArgs e)
|
||||
protected virtual void OnConfigurationUpdated(object sender, EventArgs e)
|
||||
{
|
||||
ConfigureAutoRunAtStartup();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user