summaryrefslogtreecommitdiff
path: root/libs/ardour/session_events.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2007-03-16 17:48:13 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2007-03-16 17:48:13 +0000
commit3e369073533988b8536216389d52cc947535e51c (patch)
treee5b0cdbc7540df68222f76574cf84fa48d3e70f7 /libs/ardour/session_events.cc
parentbca0450c188cdac82fbc74d05b5d72aff9115646 (diff)
a much better fix for track-add crashes, albeit slightly more complex
git-svn-id: svn://localhost/ardour2/trunk@1604 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/session_events.cc')
-rw-r--r--libs/ardour/session_events.cc12
1 files changed, 0 insertions, 12 deletions
diff --git a/libs/ardour/session_events.cc b/libs/ardour/session_events.cc
index 416d72969e..e93a7a5f17 100644
--- a/libs/ardour/session_events.cc
+++ b/libs/ardour/session_events.cc
@@ -410,18 +410,6 @@ Session::process_event (Event* ev)
case Event::InputConfigurationChange:
post_transport_work = PostTransportWork (post_transport_work | PostTransportInputChange);
- {
- RCUWriter<DiskstreamList> writer (diskstreams);
- boost::shared_ptr<DiskstreamList> ds = writer.get_copy();
- ds->remove (ev->diskstream);
- /* writer goes out of scope, copies ds back to main */
- }
- {
- RCUWriter<DiskstreamList> writer (diskstreams_input_pending);
- boost::shared_ptr<DiskstreamList> ds = writer.get_copy();
- ds->push_back (ev->diskstream);
- /* writer goes out of scope, copies ds back to main */
- }
schedule_butler_transport_work ();
break;