Skip to content

Commit

Permalink
🐛 Make the SMBus mutex thread background so that it doesn't prevent t…
Browse files Browse the repository at this point in the history
…he service from stopping.
  • Loading branch information
hexawyz committed Mar 14, 2024
1 parent bc09ee4 commit c61c93a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Exo.Core/AsyncGlobalMutex.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit c61c93a

Please sign in to comment.