void OnApplicationQuit() { if (_bot1 != null) { _bot1.stop(); } if (_bot2 != null) { _bot2.stop(); } }