[rygel] dbus-thumbnailer: Don't try to remove non-existent timeout source
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rygel] dbus-thumbnailer: Don't try to remove non-existent timeout source
- Date: Wed, 10 Sep 2014 13:21:40 +0000 (UTC)
commit 2ef90a1330cb4d5a2d5764e76cfbac3aed16baee
Author: Debarshi Ray <debarshir gnome org>
Date: Wed Sep 10 12:35:10 2014 +0200
dbus-thumbnailer: Don't try to remove non-existent timeout source
https://bugzilla.gnome.org/show_bug.cgi?id=736403
src/librygel-server/rygel-dbus-thumbnailer.vala | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/librygel-server/rygel-dbus-thumbnailer.vala b/src/librygel-server/rygel-dbus-thumbnailer.vala
index c2a1e6e..f2f174c 100644
--- a/src/librygel-server/rygel-dbus-thumbnailer.vala
+++ b/src/librygel-server/rygel-dbus-thumbnailer.vala
@@ -71,6 +71,7 @@ internal class Rygel.DbusThumbnailer : GLib.Object {
if (this.timeout_id != 0) {
Source.remove (this.timeout_id);
+ this.timeout_id = 0;
}
if (this.uris.size < THUMBNAIL_MAX_QUEUE_SIZE) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]