mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2025-05-03 09:39:47 +00:00
Upgraded the lock object to .NET 9
This commit is contained in:
parent
0d8a00d451
commit
38dc1ffc30
@ -3,7 +3,7 @@ namespace AIStudio.Tools;
|
|||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public sealed class ThreadSafeRandom : Random
|
public sealed class ThreadSafeRandom : Random
|
||||||
{
|
{
|
||||||
private static readonly object LOCK = new();
|
private static readonly Lock LOCK = new();
|
||||||
|
|
||||||
#region Overrides of Random
|
#region Overrides of Random
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user