D21606: RFC: ThreadWeaver Job Decorators not used properly and have no effect

Aleix Pol Gonzalez noreply at phabricator.kde.org
Thu Jul 18 20:54:06 BST 2019


apol added a comment.


  I need this additionally
  
    diff --git a/src/runnermanager.cpp b/src/runnermanager.cpp
    index f92830d..6ec0c3c 100644
    --- a/src/runnermanager.cpp
    +++ b/src/runnermanager.cpp
    @@ -345,6 +345,7 @@ public:
                 emit q->matchesChanged(context.matches());
             }
     
    +        teardownRequested = true;
             checkTearDown();
         }
     
    @@ -833,6 +834,7 @@ void RunnerManager::reset()
         }
     
         d->context.reset();
    +    emit queryFinished();
     }
     
     } // Plasma namespace
  
  With this it works quite reliably for me.

REPOSITORY
  R308 KRunner

REVISION DETAIL
  https://phabricator.kde.org/D21606

To: fvogt
Cc: apol, davidedmundson, kde-frameworks-devel, LeGast00n, sbergeron, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20190718/27cc1bc8/attachment.html>


More information about the Kde-frameworks-devel mailing list