From c61c93a311e35ad056616e71ca52adc8699a7982 Mon Sep 17 00:00:00 2001 From: hexawyz <8518235+hexawyz@users.noreply.github.com> Date: Thu, 14 Mar 2024 23:35:30 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Make=20the=20SMBus=20mutex=20thr?= =?UTF-8?q?ead=20background=20so=20that=20it=20doesn't=20prevent=20the=20s?= =?UTF-8?q?ervice=20from=20stopping.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Exo.Core/AsyncGlobalMutex.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Exo.Core/AsyncGlobalMutex.cs b/Exo.Core/AsyncGlobalMutex.cs index 2f3fe0c6..0bdb547d 100644 --- a/Exo.Core/AsyncGlobalMutex.cs +++ b/Exo.Core/AsyncGlobalMutex.cs @@ -165,7 +165,7 @@ public static AsyncGlobalMutex Get(string name) private AsyncGlobalMutex(string mutexName) { _mutex = new(false, mutexName); - _thread = new(MutexThread); + _thread = new(MutexThread) { IsBackground = true }; _pendingTaskList = new(); _waitQueue = new(); _manualResetEvent = new(false);