@Override public void onDestroyView() { if (MicroRecordThread != null) MicroRecordThread.stopThread(); if (fftForwardThread != null) fftForwardThread.stopThread(); if (eqThread != null) eqThread.stopThread(); if (fftInverseThread != null) fftInverseThread.stopThread(); if (fftForwardThread2 != null) fftForwardThread2.stopThread(); super.onDestroyView(); }