summaryrefslogtreecommitdiff
path: root/libs/ardour/session_state.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2007-02-26 04:37:32 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2007-02-26 04:37:32 +0000
commit54f18f26d4731ebda625776f8850ea8ff4dcc79e (patch)
treefb8472023d9690e53af35b23b7bf052f11278ef1 /libs/ardour/session_state.cc
parent1e352b699edad2b08f79206af1d2e462a19b44ef (diff)
fix for #1503, crash on new session in write-protected dir
git-svn-id: svn://localhost/ardour2/trunk@1510 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/session_state.cc')
-rw-r--r--libs/ardour/session_state.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/ardour/session_state.cc b/libs/ardour/session_state.cc
index ea35e853ec..69c47d2f08 100644
--- a/libs/ardour/session_state.cc
+++ b/libs/ardour/session_state.cc
@@ -183,6 +183,8 @@ Session::first_stage_init (string fullpath, string snapshot_name)
current_trans = 0;
first_file_data_format_reset = true;
first_file_header_format_reset = true;
+ butler_thread = (pthread_t) 0;
+ midi_thread = (pthread_t) 0;
AudioDiskstream::allocate_working_buffers();