Since recently my x-plane plugin doesn’t reload properly on Windows anymore. It’s still fine on Linux/Mac. I guess it’s something with this code:
Do I need to clean up something upon pluginstop etc.? Many thanks for help.

OS is not relevant.

What’s your hardware?

the hardware didn’t change. I guess X-Plane handles it more strict on Windows, or they need to update their pointers to modern c++.