Minor improvements

This commit is contained in:
Cyberboss
2020-04-21 21:33:10 -04:00
parent 697dd99249
commit 9bf1d6d78b
5 changed files with 3 additions and 11 deletions
@@ -1,6 +1,5 @@
using Microsoft.Extensions.Logging;
using Newtonsoft.Json;
using Newtonsoft.Json.Serialization;
using System;
using System.Collections.Generic;
using System.Text;
@@ -1,7 +1,6 @@
using Byond.TopicSender;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Logging;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Diagnostics;
@@ -13,7 +12,6 @@ using Tgstation.Server.Api.Models.Internal;
using Tgstation.Server.Api.Rights;
using Tgstation.Server.Host.Components.Chat;
using Tgstation.Server.Host.Components.Deployment;
using Tgstation.Server.Host.Components.Interop;
using Tgstation.Server.Host.Components.Interop.Topic;
using Tgstation.Server.Host.Core;
using Tgstation.Server.Host.Database;
@@ -1,6 +1,4 @@
using Tgstation.Server.Host.System;
namespace Tgstation.Server.Host.Components.Watchdog
namespace Tgstation.Server.Host.System
{
/// <summary>
/// On Windows, DreamDaemon will show an unskippable prompt when using /world/proc/OpenPort(). This looks out for those prompts and immediately clicks "Yes" if the owning process has registered for it
@@ -1,6 +1,4 @@
using Tgstation.Server.Host.System;
namespace Tgstation.Server.Host.Components.Watchdog
namespace Tgstation.Server.Host.System
{
/// <inheritdoc />
sealed class PosixNetworkPromptReaper : INetworkPromptReaper
@@ -9,9 +9,8 @@ using System.Text;
using System.Threading;
using System.Threading.Tasks;
using Tgstation.Server.Host.Core;
using Tgstation.Server.Host.System;
namespace Tgstation.Server.Host.Components.Watchdog
namespace Tgstation.Server.Host.System
{
/// <inheritdoc />
sealed class WindowsNetworkPromptReaper : IHostedService, INetworkPromptReaper, IDisposable