问题
I'm having an issue that only Crashlytics shown me and my team, I can't reproduce it on my tests devices. It seens that the method onDestroy() is throwing a "NullPointerException".
@Override
protected void onDestroy() {
UsersOnRoom.removeAll();
try {
audioManager.removeAudioFiles();
} catch (Exception e) {
super.onDestroy();
}
super.onDestroy();
}
RoomBaseActivity extends another Activity, that has no implementation of onDestroy().
I have no ideia what's is causing it.
来源:https://stackoverflow.com/questions/36895171/nullpointer-at-ondestroy