mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
Fix up CoreAppHost.cs
This commit is contained in:
parent
183ef34422
commit
34af7501fa
@ -18,6 +18,8 @@ namespace Jellyfin.Server
|
|||||||
|
|
||||||
public override bool CanSelfRestart => StartupOptions.RestartPath != null;
|
public override bool CanSelfRestart => StartupOptions.RestartPath != null;
|
||||||
|
|
||||||
|
protected override bool SupportsDualModeSockets => true;
|
||||||
|
|
||||||
protected override void RestartInternal() => Program.Restart();
|
protected override void RestartInternal() => Program.Restart();
|
||||||
|
|
||||||
protected override IEnumerable<Assembly> GetAssembliesWithPartsInternal()
|
protected override IEnumerable<Assembly> GetAssembliesWithPartsInternal()
|
||||||
@ -27,8 +29,6 @@ namespace Jellyfin.Server
|
|||||||
|
|
||||||
protected override void ShutdownInternal() => Program.Shutdown();
|
protected override void ShutdownInternal() => Program.Shutdown();
|
||||||
|
|
||||||
protected override bool SupportsDualModeSockets => true;
|
|
||||||
|
|
||||||
protected override IHttpListener CreateHttpListener()
|
protected override IHttpListener CreateHttpListener()
|
||||||
=> new WebSocketSharpListener(
|
=> new WebSocketSharpListener(
|
||||||
Logger,
|
Logger,
|
||||||
@ -39,7 +39,6 @@ namespace Jellyfin.Server
|
|||||||
CryptographyProvider,
|
CryptographyProvider,
|
||||||
SupportsDualModeSockets,
|
SupportsDualModeSockets,
|
||||||
FileSystemManager,
|
FileSystemManager,
|
||||||
EnvironmentInfo
|
EnvironmentInfo);
|
||||||
);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user