I have a haxeflixel game that crashes randomly when targeting cpp with an error message of
I’ve determined that it happens when playing an embedded sound, although only occasionally, and the program exits with the generic error message. When removing
embed="true" from my asset tags for sounds it doesn’t happen, as far as I’ve tested. I prefer to embed my assets though. I’ve tried with both OGG and WAV files with same result.
In my search for answers I found this and it looks like the same issue.
jgranick commented on May 20, 2015
There was a file handle leak that could occur before (depending on which code paths your project followed down), which could lead to valid sounds not loading. Resolved in newer versions
Is there a way I can fix this with the older openfl/lime versions I’m using?
Thanks for any help with this.