summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editor_audio_import.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2013-08-15 11:44:47 -0400
committerPaul Davis <paul@linuxaudiosystems.com>2013-08-15 11:44:47 -0400
commit04bf9d1e9594688db4a69c3660feef2efe23945b (patch)
treedc7ca47730960e6544347cc2ef9e4a8606e87c97 /gtk2_ardour/editor_audio_import.cc
parent588cc3af74524a3f6bdae16c93ba0975f55fcc1e (diff)
fix newly-appearing crash-at-close caused by muddled thinking in pbd/pthread_utils
threads created with this code can now just return a value as they normally would, and the infrastructure will ensure cleanup. there is no longer any reason to call pthread_exit_pbd() and so that has been removed.
Diffstat (limited to 'gtk2_ardour/editor_audio_import.cc')
-rw-r--r--gtk2_ardour/editor_audio_import.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/gtk2_ardour/editor_audio_import.cc b/gtk2_ardour/editor_audio_import.cc
index 3cb2d378c2..7089372e63 100644
--- a/gtk2_ardour/editor_audio_import.cc
+++ b/gtk2_ardour/editor_audio_import.cc
@@ -962,7 +962,5 @@ void *
Editor::import_thread ()
{
_session->import_files (import_status);
- pthread_exit_pbd (0);
- /*NOTREACHED*/
return 0;
}