kopia lustrzana https://github.com/xdsopl/robot36
set decoder member to null onDestroy, so it gets out of scope
rodzic
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();
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue