Skip to content

Commit

Permalink
Clear disposables after dispose all in android example
Browse files Browse the repository at this point in the history
  • Loading branch information
Katawann authored and Jonas Vautherin committed Jan 26, 2021
1 parent 5ac75aa commit 1241385
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,8 @@ public void onPause() {
for (Disposable disposable : disposables) {
disposable.dispose();
}
disposables.clear();


drone.dispose();
drone = null;
Expand Down

0 comments on commit 1241385

Please sign in to comment.