From 670733f7a90d337d546afab22ddedeedec6d3d67 Mon Sep 17 00:00:00 2001 From: Saturneric Date: Mon, 9 May 2022 22:40:54 +0800 Subject: fix: fix crash poblem when doing operations 1. refactor GpgFunctionObject to solve shared library problem. 2. fix multi-threading issues in refreshing. 3. improve loading speed for key list 4. improve ui operation 5. do other fixing and improving operations --- src/core/thread/CtxCheckThread.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/core/thread/CtxCheckThread.cpp') diff --git a/src/core/thread/CtxCheckThread.cpp b/src/core/thread/CtxCheckThread.cpp index 77571dfd..edec8855 100644 --- a/src/core/thread/CtxCheckThread.cpp +++ b/src/core/thread/CtxCheckThread.cpp @@ -48,7 +48,7 @@ void GpgFrontend::CtxCheckThread::run() { if (!GpgContext::GetInstance().good()) { emit SignalGnupgNotInstall(); } - // Try fetching key + // Try flushing key cache else - GpgFrontend::GpgKeyGetter::GetInstance().FetchKey(); + GpgFrontend::GpgKeyGetter::GetInstance().FlushKeyCache(); } -- cgit v1.2.3