Skip to content

Commit

Permalink
Update audio cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
billthefarmer committed Dec 13, 2017
1 parent 11b6b51 commit e2281ed
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/main/java/org/billthefarmer/scope/MainActivity.java
Expand Up @@ -689,6 +689,9 @@ public void run()
// Stop
protected void stop()
{
// Stop and release the audio recorder
cleanUpAudioRecord();

Thread t = thread;
thread = null;

Expand Down
3 changes: 3 additions & 0 deletions src/main/java/org/billthefarmer/scope/SpectrumActivity.java
Expand Up @@ -362,6 +362,9 @@ public void run()
// Stop
protected void stop()
{
// Stop and release the audio recorder
cleanUpAudioRecord();

Thread t = thread;
thread = null;

Expand Down

0 comments on commit e2281ed

Please sign in to comment.