Closed mmp closed 3 years ago
Indeed it is! While I can't reproduce the crash on my end, there is definitely something dodgy going on with the order of desctruction. (Use-after-free to be precise.)
Thanks for reporting.
I guess that's what I get for hacking my way around RAII. And my best idea for a fix is to hack around it even more. I really should check out some existing OGL libraries and see how they do it.
I just noticed this... (Possibly related to the #126 fix?) To reproduce, run
tev x.png
with the attached, hit command-q to quit, and it crashes.