projects
/
gitlive
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
37276a5
)
Monitor.vala
author
Alan Knowles
<alan@akbkhome.com>
Thu, 1 May 2014 14:29:27 +0000
(22:29 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Thu, 1 May 2014 14:29:27 +0000
(22:29 +0800)
Monitor.vala
patch
|
blob
|
history
diff --git
a/Monitor.vala
b/Monitor.vala
index
231582b
..
3bdc946
100644
(file)
--- a/
Monitor.vala
+++ b/
Monitor.vala
@@
-178,7
+178,7
@@
public class Monitor : Object
while (true) {
try {
- next_file = file_enum.next_file(null)
)
;
+ next_file = file_enum.next_file(null);
} catch (Error e) {
break;
}
@@
-212,8
+212,11
@@
public class Monitor : Object
this.monitor(sp, fn, depth + 1);
}
-
- file_enum.close(null);
+ try {
+ file_enum.close(null);
+ } catch(Error e) {
+ // ignore?
+ }
}