aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/slskd/Application.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/slskd/Application.cs b/src/slskd/Application.cs
index 1c7031cc..cd45fbeb 100644
--- a/src/slskd/Application.cs
+++ b/src/slskd/Application.cs
@@ -180,7 +180,7 @@ namespace slskd
GCSettings.LargeObjectHeapCompactionMode = GCLargeObjectHeapCompactionMode.CompactOnce;
#pragma warning disable S1215 // "GC.Collect" should not be called
- GC.Collect(2, GCCollectionMode.Forced, blocking: false, compacting: true);
+ GC.Collect(2, GCCollectionMode.Forced, blocking: true, compacting: true);
#pragma warning restore S1215 // "GC.Collect" should not be called
sw.Stop();