[libhttpseverywhere: 1/21] updater: do not cause init to run
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libhttpseverywhere: 1/21] updater: do not cause init to run
- Date: Tue, 22 Nov 2016 14:37:21 +0000 (UTC)
commit 7346db684d6c37df1cc2535a59a303b122e2bc61
Author: grindhold <grindhold gmx net>
Date: Mon Oct 24 22:41:17 2016 +0200
updater: do not cause init to run
src/update.vala | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/src/update.vala b/src/update.vala
index d137159..12d6713 100644
--- a/src/update.vala
+++ b/src/update.vala
@@ -212,14 +212,13 @@ namespace HTTPSEverywhere {
/**
* This function initializes an update of the used rulefiles
*
- * If the update succeeded, it will reload the rulesets.
+ * Remember to update the rulesets afterwards via {@link Context.init}
* It will return true on success and false on failure
*/
public async void update(Cancellable? cancellable = null) throws UpdateError, IOError {
lock_update();
try {
yield execute_update(cancellable);
- yield context.init(cancellable);
unlock_update();
} catch (UpdateError e) {
unlock_update();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]