mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-17 21:25:40 +00:00
(svn r2938) -Fix: Exit the child of the extmidi backend with _exit() instead of exit(), because we don't want any atexit handlers - especially flushing output streams - to run, if exec() fails
Half a credit is due to Darkvater (;
This commit is contained in:
parent
8894b930ae
commit
08e0769967
@ -81,7 +81,7 @@ static void DoPlay(void)
|
||||
#endif
|
||||
}
|
||||
}
|
||||
exit(1);
|
||||
_exit(1);
|
||||
}
|
||||
|
||||
case -1:
|
||||
|
Loading…
Reference in New Issue
Block a user