[tracker/tracker-0.10] tracker-store: Reenable signals after failing to load Turtle file
- From: Martyn James Russell <mr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/tracker-0.10] tracker-store: Reenable signals after failing to load Turtle file
- Date: Thu, 26 May 2011 10:28:12 +0000 (UTC)
commit 42c7997f011128c9c234fa7684607c90fc5e177d
Author: Jürg Billeter <j bitron ch>
Date: Mon May 23 17:15:47 2011 +0200
tracker-store: Reenable signals after failing to load Turtle file
src/tracker-store/tracker-store.vala | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/src/tracker-store/tracker-store.vala b/src/tracker-store/tracker-store.vala
index 4fc2f6b..120dbf4 100644
--- a/src/tracker-store/tracker-store.vala
+++ b/src/tracker-store/tracker-store.vala
@@ -226,8 +226,11 @@ public class Tracker.Store {
var file = File.new_for_path (turtle_task.path);
Tracker.Events.freeze ();
- Tracker.Data.load_turtle_file (file);
- Tracker.Events.reset_pending ();
+ try {
+ Tracker.Data.load_turtle_file (file);
+ } finally {
+ Tracker.Events.reset_pending ();
+ }
}
} catch (Error e) {
task.error = e;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]