diff --git a/app/src/main/java/org/ntlab/acanthus_client/views/paint/PaintActivity.java b/app/src/main/java/org/ntlab/acanthus_client/views/paint/PaintActivity.java index 221e287..af7d263 100644 --- a/app/src/main/java/org/ntlab/acanthus_client/views/paint/PaintActivity.java +++ b/app/src/main/java/org/ntlab/acanthus_client/views/paint/PaintActivity.java @@ -60,4 +60,9 @@ paintCanvas.setPaintViewModel(paintViewModel); } //----------------------------------------------------------------- + @Override + public void onDestroy(){ + super.onDestroy(); + paintViewModel.stop(); + } } \ No newline at end of file