Removes SessionControllerFactory's dependency on ResolvingIOManager

This commit is contained in:
Jordan Brown
2019-01-03 11:59:27 -05:00
parent 57828b9ea1
commit 42ba17fbbe
@@ -188,12 +188,10 @@ namespace Tgstation.Server.Host.Components.Watchdog
ContractResolver = new CamelCasePropertyNamesContractResolver(),
ReferenceLoopHandling = ReferenceLoopHandling.Ignore
});
var localIoManager = new ResolvingIOManager(ioManager, basePath);
var chatJsonTrackingTask = chat.TrackJsons(basePath, interopInfo.ChatChannelsJson, interopInfo.ChatCommandsJson, cancellationToken);
await localIoManager.WriteAllBytes(interopJsonFile, Encoding.UTF8.GetBytes(interopJson), cancellationToken).ConfigureAwait(false);
await ioManager.WriteAllBytes(ioManager.ConcatPath(basePath, interopJsonFile), Encoding.UTF8.GetBytes(interopJson), cancellationToken).ConfigureAwait(false);
var chatJsonTrackingContext = await chatJsonTrackingTask.ConfigureAwait(false);
try
{