summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2017-07-08 17:31:08 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2017-07-08 17:31:08 +0100
commit007c66b868ed06688b1a385c0aeb4d5e33997d6a (patch)
treee6a25f6e1d5a695762df8315cbb3183a0b0bfddc
parentUse phaseEnd instead of apply for mask processor because new ebuilds can magi... (diff)
downloadgentoobrowse-api-007c66b868ed06688b1a385c0aeb4d5e33997d6a.tar.bz2
gentoobrowse-api-007c66b868ed06688b1a385c0aeb4d5e33997d6a.tar.xz
gentoobrowse-api-007c66b868ed06688b1a385c0aeb4d5e33997d6a.zip
Ensure findPackages query is drained incase it's reusedgentoobrowse-api-0.9.0.1
-rw-r--r--gentoobrowse-api/service/maintenance/updatesProcessor.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/gentoobrowse-api/service/maintenance/updatesProcessor.cpp b/gentoobrowse-api/service/maintenance/updatesProcessor.cpp
index 4717a95..530c445 100644
--- a/gentoobrowse-api/service/maintenance/updatesProcessor.cpp
+++ b/gentoobrowse-api/service/maintenance/updatesProcessor.cpp
@@ -115,6 +115,7 @@ namespace Gentoo {
}
}
}
+ while (findPackage->fetch()) ;
});
}
};