mirror of
https://github.com/DrKLO/Telegram.git
synced 2024-12-22 14:35:03 +01:00
fix memory leak in LaunchActivity
fix memory leak in LaunchActivity when onDestroy() method from LaunchActivity called but onFragmentDestroy() from DialogsActivity doesn't called and this causes a memory leak
This commit is contained in:
parent
bffe038509
commit
e19ff13211
1 changed files with 1 additions and 0 deletions
|
@ -5880,6 +5880,7 @@ public class LaunchActivity extends BasePermissionsActivity implements INavigati
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
FileLog.e(e);
|
FileLog.e(e);
|
||||||
}
|
}
|
||||||
|
clearFragments();
|
||||||
super.onDestroy();
|
super.onDestroy();
|
||||||
onFinish();
|
onFinish();
|
||||||
FloatingDebugController.onDestroy();
|
FloatingDebugController.onDestroy();
|
||||||
|
|
Loading…
Reference in a new issue