Add files via upload

This commit is contained in:
Nikita Kogan
2019-06-21 01:19:07 +03:00
committed by GitHub
parent 5b70036f18
commit 8acaec031b
6 changed files with 23 additions and 16 deletions

View File

@@ -18,4 +18,10 @@ public class JoystickActivity extends AppCompatActivity implements Joystick.Joys
handler.send_message(true, xPercent); //true is aileron
handler.send_message(false, yPercent); //false is elevator
}
@Override
protected void onDestroy()
{
super.onDestroy();
UserHandler.getInstance().disconnect();
}
}