mirror of
https://codeberg.org/tom79/Fedilab.git
synced 2025-09-15 08:20:18 +03:00
Fix issue #1279 - Crash when context activity is destroyed before fragment transaction
This commit is contained in:
parent
0e6409d7d8
commit
93b788b74e
1 changed files with 3 additions and 1 deletions
|
@ -934,7 +934,9 @@ public class Helper {
|
|||
ft.commitAllowingStateLoss();
|
||||
}
|
||||
}
|
||||
if(!fragmentManager.isDestroyed()) {
|
||||
fragmentManager.executePendingTransactions();
|
||||
}
|
||||
return fragment;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue