Skip to content
Snippets Groups Projects
Commit 04a894d1 authored by Nicolas Pomepuy's avatar Nicolas Pomepuy Committed by Duncan McNamara
Browse files

Stop the visualizer when it's detached from the window

Fixes some mem leaks
parent 9c3713e2
No related branches found
No related tags found
1 merge request!1897Fix some memory leaks
Pipeline #469477 passed with stage
in 4 minutes and 11 seconds
......@@ -118,4 +118,10 @@ class MiniVisualizer : LinearLayout {
stopSet.start()
}
}
override fun onDetachedFromWindow() {
super.onDetachedFromWindow()
stop()
}
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment