mirror of
https://github.com/tgstation/tgstation-server.git
synced 2026-08-27 07:04:57 +01:00
Fix CA1810
This commit is contained in:
@@ -62,7 +62,7 @@ namespace Tgstation.Server.Host.Components.Byond
|
||||
/// <summary>
|
||||
/// <see cref="SemaphoreSlim"/> for writing to files in the user's BYOND directory.
|
||||
/// </summary>
|
||||
static readonly SemaphoreSlim UserFilesSemaphore;
|
||||
static readonly SemaphoreSlim UserFilesSemaphore = new (1);
|
||||
|
||||
/// <summary>
|
||||
/// The <see cref="IIOManager"/> for the <see cref="ByondManager"/>.
|
||||
@@ -99,14 +99,6 @@ namespace Tgstation.Server.Host.Components.Byond
|
||||
/// </summary>
|
||||
TaskCompletionSource activeVersionChanged;
|
||||
|
||||
/// <summary>
|
||||
/// Initializes static members of the <see cref="ByondManager"/> class.
|
||||
/// </summary>
|
||||
static ByondManager()
|
||||
{
|
||||
UserFilesSemaphore = new SemaphoreSlim(1);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Validates a given <paramref name="version"/> parameter.
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user