mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-29 09:29:10 +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:
@@ -81,7 +81,7 @@ static void DoPlay(void)
|
||||
#endif
|
||||
}
|
||||
}
|
||||
exit(1);
|
||||
_exit(1);
|
||||
}
|
||||
|
||||
case -1:
|
||||
|
Reference in New Issue
Block a user