mirror of
https://github.com/nextcloud/talk-android
synced 2025-06-19 19:49:33 +01:00
More memory cleanups
Signed-off-by: Mario Danic <mario@lovelyhq.com>
This commit is contained in:
parent
74691aa278
commit
b7a47b3972
@ -297,7 +297,6 @@ public class CallNotificationController extends BaseController {
|
||||
|
||||
if (handler == null) {
|
||||
handler = new Handler();
|
||||
|
||||
ncApi = ApplicationWideApiHolder.getInstance().getNcApiInstanceForAccountId(userBeingCalled.getId(), null);
|
||||
}
|
||||
|
||||
|
@ -469,6 +469,7 @@ public class ChatController extends BaseController implements MessagesListAdapte
|
||||
@Override
|
||||
public void onDestroy() {
|
||||
super.onDestroy();
|
||||
adapter = null;
|
||||
inChat = false;
|
||||
ApplicationWideCurrentRoomHolder.getInstance().clear();
|
||||
leaveRoom();
|
||||
|
Loading…
Reference in New Issue
Block a user