summaryrefslogtreecommitdiff
path: root/libs/ardour/ardour/butler.h
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2014-05-01 12:27:26 -0400
committerPaul Davis <paul@linuxaudiosystems.com>2014-05-01 12:31:34 -0400
commite69531b953c5fe717b88b051acd087de3caed166 (patch)
tree9dd7f4dd48176c39966ef7aaa9c0b7fed493dc87 /libs/ardour/ardour/butler.h
parentcd004296729e50830d0c47c2734b26908508795b (diff)
fix crash in butler when destroying before thread is started
Diffstat (limited to 'libs/ardour/ardour/butler.h')
-rw-r--r--libs/ardour/ardour/butler.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/ardour/ardour/butler.h b/libs/ardour/ardour/butler.h
index efdaad1621..949668dab3 100644
--- a/libs/ardour/ardour/butler.h
+++ b/libs/ardour/ardour/butler.h
@@ -76,6 +76,7 @@ class LIBARDOUR_API Butler : public SessionHandleRef
};
pthread_t thread;
+ bool have_thread;
Glib::Threads::Mutex request_lock;
Glib::Threads::Cond paused;
bool should_run;