From ded3edf2123d8e642a08cf9eb643d585661298a7 Mon Sep 17 00:00:00 2001 From: Anna Date: Fri, 19 Nov 2021 12:25:09 -0500 Subject: [PATCH] fix: use ConcurrentDictionary --- SoundFilter/Filter.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/SoundFilter/Filter.cs b/SoundFilter/Filter.cs index 8f12f4f..dab1382 100755 --- a/SoundFilter/Filter.cs +++ b/SoundFilter/Filter.cs @@ -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 Scds { get; } = new(); + private ConcurrentDictionary Scds { get; } = new(); internal ConcurrentQueue Recent { get; } = new();