void OnDestroy() { Debug.Log("PrintOnDestroy"); LpSensorManager.disconnectLpms(lpmsSensor); // Destroy sensor manager and free up memory LpSensorManager.deinitSensorManager(); }