diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2013-08-15 11:44:47 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2013-08-15 11:44:47 -0400 |
commit | 04bf9d1e9594688db4a69c3660feef2efe23945b (patch) | |
tree | dc7ca47730960e6544347cc2ef9e4a8606e87c97 /libs/ardour/butler.cc | |
parent | 588cc3af74524a3f6bdae16c93ba0975f55fcc1e (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 'libs/ardour/butler.cc')
-rw-r--r-- | libs/ardour/butler.cc | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/libs/ardour/butler.cc b/libs/ardour/butler.cc index db1b316368..a948c185b8 100644 --- a/libs/ardour/butler.cc +++ b/libs/ardour/butler.cc @@ -185,7 +185,7 @@ Butler::thread_work () break; case Request::Quit: - pthread_exit_pbd (0); + return 0; /*NOTREACHED*/ break; @@ -327,8 +327,6 @@ restart: empty_pool_trash (); } - pthread_exit_pbd (0); - /*NOTREACHED*/ return (0); } |