public void ServoUnityFinalise() { ServoUnityPlugin_pinvoke.servoUnityFinalise(); windowCreatedCallback = null; windowResizedCallback = null; browserEventCallback = null; // Free the callback stubs after deregistering the callbacks on the native side. windowCreatedCallbackGCH.Free(); windowResizedCallbackGCH.Free(); browserEventCallbackGCH.Free(); }