[anjuta] symbol-db: Fixes bgo #614674 - view crashes on fast switching
- From: Naba Kumar <naba src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [anjuta] symbol-db: Fixes bgo #614674 - view crashes on fast switching
- Date: Sat, 3 Apr 2010 19:17:51 +0000 (UTC)
commit e599e5adf197ebb25d18efd0ec5dfde24edaded9
Author: Naba Kumar <naba gnome org>
Date: Sat Apr 3 22:21:59 2010 +0300
symbol-db: Fixes bgo #614674 - view crashes on fast switching
plugins/symbol-db/symbol-db-model.c | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/plugins/symbol-db/symbol-db-model.c b/plugins/symbol-db/symbol-db-model.c
index 8930064..897ca9f 100644
--- a/plugins/symbol-db/symbol-db-model.c
+++ b/plugins/symbol-db/symbol-db-model.c
@@ -1460,6 +1460,12 @@ symbol_db_model_update (SymbolDBModel *model)
priv = model->priv;
+ /* Reset children ensure queue */
+ if (priv->ensure_children_idle_id)
+ g_source_remove (priv->ensure_children_idle_id);
+ priv->ensure_children_idle_id = 0;
+ g_queue_clear (priv->ensure_children_queue);
+
sdb_model_update_node_children (model, priv->root, FALSE);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]