fix: use ConcurrentDictionary

This commit is contained in:
Anna 2021-11-19 12:25:09 -05:00
parent 0883add80f
commit ded3edf212
1 changed files with 1 additions and 2 deletions

View File

@ -1,6 +1,5 @@
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices;
@ -51,7 +50,7 @@ namespace SoundFilter {
private SoundFilterPlugin Plugin { 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();