From 8476baacc75990db4ad68bcce673531e1b419890 Mon Sep 17 00:00:00 2001 From: bao-qian Date: Fri, 22 Apr 2016 22:42:43 +0100 Subject: [PATCH] Use default thread pool settings --- Wox/App.xaml.cs | 3 --- 1 file changed, 3 deletions(-) diff --git a/Wox/App.xaml.cs b/Wox/App.xaml.cs index 7aded30ce1..2135626eae 100644 --- a/Wox/App.xaml.cs +++ b/Wox/App.xaml.cs @@ -46,9 +46,6 @@ namespace Wox WoxDirectroy.Executable = Directory.GetParent(Assembly.GetExecutingAssembly().Location).ToString(); RegisterUnhandledException(); - ThreadPool.SetMaxThreads(30, 10); - ThreadPool.SetMinThreads(10, 5); - ImageLoader = new ImageLoader.ImageLoader(); ThreadPool.QueueUserWorkItem(_ => { ImageLoader.PreloadImages(); });