[beast: 27/95] BST: guard against missing thread stats for main BSE thread
- From: Tim Janik <timj src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [beast: 27/95] BST: guard against missing thread stats for main BSE thread
- Date: Mon, 25 Mar 2013 00:38:46 +0000 (UTC)
commit d1130c65c9d5958219124a71693d715c1de5c918
Author: Tim Janik <timj gnu org>
Date: Sun Mar 17 05:44:55 2013 +0100
BST: guard against missing thread stats for main BSE thread
beast-gtk/bstprofiler.cc | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/beast-gtk/bstprofiler.cc b/beast-gtk/bstprofiler.cc
index 28d0416..65587fb 100644
--- a/beast-gtk/bstprofiler.cc
+++ b/beast-gtk/bstprofiler.cc
@@ -169,7 +169,8 @@ profiler_update (void)
slist = g_slist_prepend (slist, tt->synthesis->thread_infos[i]);
if (tt->sequencer)
slist = g_slist_prepend (slist, tt->sequencer);
- slist = g_slist_prepend (slist, tt->main);
+ if (tt->main)
+ slist = g_slist_prepend (slist, tt->main);
slist = g_slist_prepend (slist, &bi);
update_infos (slist, lwrapper);
g_slist_free (slist);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]