mirror of
https://github.com/bloxstraplabs/bloxstrap.git
synced 2025-04-21 10:01:27 -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.Logger.WriteLine(LOG_IDENT, "Initializing bootstrapper");
|
||||||
App.Bootstrapper = new Bootstrapper(LaunchMode.Player)
|
App.Bootstrapper = new Bootstrapper(LaunchMode.Player)
|
||||||
{
|
{
|
||||||
MutexName = "Bloxstrap-BackgroundUpdaterKillEvent",
|
MutexName = "Bloxstrap-BackgroundUpdater",
|
||||||
QuitIfMutexExists = true
|
QuitIfMutexExists = true
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -322,7 +322,7 @@ namespace Bloxstrap
|
|||||||
Task.Run(() =>
|
Task.Run(() =>
|
||||||
{
|
{
|
||||||
App.Logger.WriteLine(LOG_IDENT, "Started event waiter");
|
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();
|
handle.WaitOne();
|
||||||
|
|
||||||
App.Logger.WriteLine(LOG_IDENT, "Received close event, killing it all!");
|
App.Logger.WriteLine(LOG_IDENT, "Received close event, killing it all!");
|
||||||
|
Loading…
Reference in New Issue
Block a user