mirror of https://github.com/OpenTTD/OpenTTD
(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 (;release/0.4.5
parent
8894b930ae
commit
08e0769967
|
@ -81,7 +81,7 @@ static void DoPlay(void)
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
exit(1);
|
_exit(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
case -1:
|
case -1:
|
||||||
|
|
Loading…
Reference in New Issue