diff options
Diffstat (limited to 'libs/ardour/butler.cc')
-rw-r--r-- | libs/ardour/butler.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libs/ardour/butler.cc b/libs/ardour/butler.cc index db1b316368..119f01fc6b 100644 --- a/libs/ardour/butler.cc +++ b/libs/ardour/butler.cc @@ -110,6 +110,9 @@ Butler::start_thread() return -1; } + fcntl(request_pipe[0], F_SETFD, fcntl(request_pipe[0], F_GETFD) | FD_CLOEXEC); + fcntl(request_pipe[1], F_SETFD, fcntl(request_pipe[1], F_GETFD) | FD_CLOEXEC); + //pthread_detach (thread); return 0; |