forked from cromer/pamac-classic
fix daemon quit func
This commit is contained in:
parent
d39482b2e5
commit
d36ef3eceb
@ -2219,7 +2219,7 @@ namespace Pamac {
|
||||
[DBus (no_reply = true)]
|
||||
public void quit () {
|
||||
// be sure to not quit with locked databases
|
||||
if (thread_pool.get_num_threads () == 0) {
|
||||
if (thread_pool.unprocessed () == 0) {
|
||||
loop.quit ();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user