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:
rezaei 2023-12-12 14:39:34 +03:30 committed by GitHub
parent bffe038509
commit e19ff13211
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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();