mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 06:44:57 +01:00
close stdin as first attempt to terminate process cleanly.
This commit is contained in:
parent
5a3a8fc8f2
commit
f31c84a742
1 changed files with 3 additions and 0 deletions
|
|
@ -297,6 +297,9 @@ void
|
|||
SystemExec::terminate ()
|
||||
{
|
||||
::pthread_mutex_lock(&write_lock);
|
||||
|
||||
close_stdin();
|
||||
|
||||
if (pid) {
|
||||
/* terminate */
|
||||
EnumWindows(my_terminateApp, (LPARAM)pid->dwProcessId);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue