mirror of
https://github.com/bloxstraplabs/bloxstrap.git
synced 2025-04-19 00:51:30 -07:00
fix mutex names being mixed up
This commit is contained in:
parent
a69dac32b0
commit
eb01f28bee
@ -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!");
|
||||
|
Loading…
Reference in New Issue
Block a user