HaxeFoundation / hxcpp

Runtime files for c++ backend for haxe
Other
295 stars 184 forks source link

Fix Callstack Retrieval in Critical Error Handler. #1143

Closed MAJigsaw77 closed 3 weeks ago

MAJigsaw77 commented 3 weeks ago

Before this fix, the critical error handler retrieved the callstack from a previous error. Now, it correctly captures the callstack from the error that triggered the crash handler.

Simn commented 3 weeks ago

I'm not familiar with this code but just from the sequence of statements this makes sense to me, so I'll merge it!