From eb01f28bee92ceba8dd215677aa4de32d89eec90 Mon Sep 17 00:00:00 2001 From: bluepilledgreat <97983689+bluepilledgreat@users.noreply.github.com> Date: Thu, 13 Mar 2025 13:33:46 +0000 Subject: [PATCH] fix mutex names being mixed up --- Bloxstrap/LaunchHandler.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Bloxstrap/LaunchHandler.cs b/Bloxstrap/LaunchHandler.cs index f5da7e7..1eee8b2 100644 --- a/Bloxstrap/LaunchHandler.cs +++ b/Bloxstrap/LaunchHandler.cs @@ -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!");