From 00bcf6cbf9015071915a5426513efd59dffbd46b Mon Sep 17 00:00:00 2001 From: Cacodemon345 Date: Wed, 30 Jul 2025 23:00:46 +0600 Subject: [PATCH] Don't use time-critical priority for VM thread Fixes some unresponsiveness on Windows --- src/qt/qt_main.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/qt/qt_main.cpp b/src/qt/qt_main.cpp index b3b880094..77cf9b23e 100644 --- a/src/qt/qt_main.cpp +++ b/src/qt/qt_main.cpp @@ -441,9 +441,6 @@ main_thread_fn() int frames; QThread::currentThread()->setPriority(QThread::HighestPriority); -#ifdef _WIN32 - SetThreadPriority(GetCurrentThread(), THREAD_PRIORITY_TIME_CRITICAL); -#endif plat_set_thread_name(nullptr, "main_thread_fn"); framecountx = 0; // title_update = 1;