Closed toolness closed 5 years ago
So this seems stable and also seems to stop the Unity editor from crashing while in play mode, as far as I can tell. I also found out that we can successfully shutdown all renderers when Unity sends its graphics shutdown event, which feels right. I guess I will go ahead and merge this since it feels less weird than spamming the shutdown event in hopes that we'll eventually cover all the GL contexts.
This is a PR against #5.This builds upon the work done in #5.This is an attempt to switch to other GL contexts when Unity asks Pathfinder to release its resources. It seems to work but it feels really risky so I'm not sure if I'm going to merge it.