Files

29 lines
741 B
C#
Raw Permalink Normal View History

2026-08-27 11:23:13 -06:00
// Decompiled with JetBrains decompiler
// Type: MutexControl
// Assembly: Client, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
// MVID: 92DF2D60-35B0-4A06-AFD8-50A246F39510
// Assembly location: C:\Users\user\Desktop\v3.8.0 Deluxe Plugins (v4.0.0) cracked\Builder\Client.exe
using System.Threading;
#nullable disable
internal class MutexControl
{
public static Mutex meow;
public static bool CreateMutex()
{
bool createdNew;
MutexControl.meow = new Mutex(false, Config.Mutex, out createdNew);
return createdNew;
}
public static void CloseMutex()
{
if (MutexControl.meow == null)
return;
MutexControl.meow.Close();
MutexControl.meow = (Mutex) null;
}
}