mirror of
https://github.com/xdsopl/robot36.git
synced 2025-12-06 07:12:07 +01:00
set decoder member to null onDestroy, so it gets out of scope
This commit is contained in:
parent
32641bdf30
commit
007dbb0a42
|
|
@ -136,6 +136,7 @@ public class MainActivity extends Activity {
|
|||
@Override
|
||||
protected void onDestroy () {
|
||||
decoder.destroy();
|
||||
decoder = null;
|
||||
manager.cancel(notifyID);
|
||||
super.onDestroy();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue