diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2016-01-14 09:04:59 -0500 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2016-01-14 09:05:06 -0500 |
commit | 077c65cc2a2a058505256ea7d4c58508f3a30593 (patch) | |
tree | d8ee69cf9718a524cc110a0793e7bd6854091f04 /libs/pbd/pbd | |
parent | da087e920b32d2b55044e337becff9f15524c060 (diff) |
manually revert 4b3043cc and 141e6fb8181; add detailed explanatory comment
Diffstat (limited to 'libs/pbd/pbd')
-rw-r--r-- | libs/pbd/pbd/abstract_ui.cc | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/libs/pbd/pbd/abstract_ui.cc b/libs/pbd/pbd/abstract_ui.cc index b0e26e3cb5..e186161cf9 100644 --- a/libs/pbd/pbd/abstract_ui.cc +++ b/libs/pbd/pbd/abstract_ui.cc @@ -80,21 +80,7 @@ AbstractUI<RequestObject>::AbstractUI (const string& name) { Glib::Threads::Mutex::Lock lm (request_buffer_map_lock); for (vector<EventLoop::ThreadBufferMapping>::iterator t = tbm.begin(); t != tbm.end(); ++t) { - RequestBuffer* rb = static_cast<RequestBuffer*> (t->request_buffer); - - /* it could be dead */ - - if (!rb->dead) { - request_buffers[t->emitting_thread] = rb; - } else { - /* don't delete it, because we have no way to - remove it from the - EventLoop::thread_request_buffers map here, - which means that we will rediscover the - pointer in the future, and indirect to check - "dead". - */ - } + request_buffers[t->emitting_thread] = static_cast<RequestBuffer*> (t->request_buffer); } } } |