// Extremely important to disconnect from ROS. Otherwise packets continue to flow void OnApplicationQuit() { if (ros != null) { ros.Disconnect(); } }
void onDestroy() { ros.Disconnect(); }