Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Release terminal beep SoundPool resources on activity stop to attempt…
… to prevent exception The following exception may be thrown, likely because of unreleased resources. Related https://stackoverflow.com/a/28708351/14686958 java.util.concurrent.TimeoutException: android.media.SoundPool.finalize() timed out after 10 seconds at android.media.SoundPool.native_release(Native Method) at android.media.SoundPool.release(SoundPool.java:177) at android.media.SoundPool.finalize(SoundPool.java:182) at java.lang.Daemons$FinalizerDaemon.doFinalize(Daemons.java:250) at java.lang.Daemons$FinalizerDaemon.runInternal(Daemons.java:237) at java.lang.Daemons$Daemon.run(Daemons.java:103) at java.lang.Thread.run(Thread.java:764)
- Loading branch information