Fix issue #1279 - Crash when context activity is destroyed before fragment transaction

This commit is contained in:
Thomas 2025-08-22 14:50:24 +02:00
parent 0e6409d7d8
commit 93b788b74e

View file

@ -934,7 +934,9 @@ public class Helper {
ft.commitAllowingStateLoss();
}
}
fragmentManager.executePendingTransactions();
if(!fragmentManager.isDestroyed()) {
fragmentManager.executePendingTransactions();
}
return fragment;
}