fix mutex names being mixed up
Some checks failed
CI (Debug) / build (push) Has been cancelled
CI (Release) / build (push) Has been cancelled
CI (Release) / release (push) Has been cancelled
CI (Release) / release-test (push) Has been cancelled

This commit is contained in:
bluepilledgreat 2025-03-13 13:33:46 +00:00
parent a69dac32b0
commit eb01f28bee

View File

@ -313,7 +313,7 @@ namespace Bloxstrap
App.Logger.WriteLine(LOG_IDENT, "Initializing bootstrapper");
App.Bootstrapper = new Bootstrapper(LaunchMode.Player)
{
MutexName = "Bloxstrap-BackgroundUpdaterKillEvent",
MutexName = "Bloxstrap-BackgroundUpdater",
QuitIfMutexExists = true
};
@ -322,7 +322,7 @@ namespace Bloxstrap
Task.Run(() =>
{
App.Logger.WriteLine(LOG_IDENT, "Started event waiter");
using (EventWaitHandle handle = new EventWaitHandle(false, EventResetMode.AutoReset, "Bloxstrap-BackgroundUpdater"))
using (EventWaitHandle handle = new EventWaitHandle(false, EventResetMode.AutoReset, "Bloxstrap-BackgroundUpdaterKillEvent"))
handle.WaitOne();
App.Logger.WriteLine(LOG_IDENT, "Received close event, killing it all!");