Closed kivutar closed 3 years ago
Getting a segfault when running tests/audio/main.lua
Yeah I can reproduce the segfault, even in ludo
This pull request fixes 1 alert when merging f7f9b17055727f916a35f130726c1419fa9f6354 into d74075d1608746d36927082e804336f8cfb34592 - view on LGTM.com
fixed alerts:
@jstine35 @RobLoach I'm going to merge this anyway because I understand what this segfault is about, it will only happen when a resource is missing, so it shouldn't happen on well maintained games.
I suppose checking if fixes exist and exiting properly will have to be added back. This can be done in another PR.
It's more important to get Lutro games to run on RA first. And this PR does that.
Because RA runs this callback on a separate thread and it causes crashes.