[brasero] Improve probing thread termination
- From: Philippe Rouquier <philippr src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [brasero] Improve probing thread termination
- Date: Tue, 8 Sep 2009 14:07:23 +0000 (UTC)
commit 3198925d8d191d4cd071e208807094646fd8284b
Author: Philippe Rouquier <bonfire-app wanadoo fr>
Date: Mon Sep 7 22:24:02 2009 +0200
Improve probing thread termination
libbrasero-media/brasero-medium.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/libbrasero-media/brasero-medium.c b/libbrasero-media/brasero-medium.c
index 41a67b9..6a49145 100644
--- a/libbrasero-media/brasero-medium.c
+++ b/libbrasero-media/brasero-medium.c
@@ -3010,7 +3010,9 @@ brasero_medium_probe_thread (gpointer self)
else
BRASERO_MEDIA_LOG ("Open () failed: medium busy");
- priv->probe_id = g_idle_add (brasero_medium_probed, self);
+ if (!priv->probe_cancelled)
+ priv->probe_id = g_idle_add (brasero_medium_probed, self);
+
return NULL;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]