DebugAllocator in shared library

I can confirm that allocating the DebugAllocator using the c_allocator rather than on the stack allows me to keep using it in subsequent calls to the library. It works across reloads also.

I still have to re-think how I am dealing with the game state pointer though as both you and @Sze pointed out. Thanks for the help!

2 Likes