fix: use ConcurrentDictionary
This commit is contained in:
parent
0883add80f
commit
ded3edf212
|
@ -1,6 +1,5 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Concurrent;
|
using System.Collections.Concurrent;
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Runtime.InteropServices;
|
using System.Runtime.InteropServices;
|
||||||
|
@ -51,7 +50,7 @@ namespace SoundFilter {
|
||||||
private SoundFilterPlugin Plugin { get; }
|
private SoundFilterPlugin Plugin { get; }
|
||||||
private bool WasStreamingEnabled { get; }
|
private bool WasStreamingEnabled { get; }
|
||||||
|
|
||||||
private Dictionary<IntPtr, string> Scds { get; } = new();
|
private ConcurrentDictionary<IntPtr, string> Scds { get; } = new();
|
||||||
|
|
||||||
internal ConcurrentQueue<string> Recent { get; } = new();
|
internal ConcurrentQueue<string> Recent { get; } = new();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue