Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix no view found crash in fragment manager.
This change fixes issue reported in #54. The issue was caused by the fragment transaction that run past the moment when container view is detached. This could happen when container is quickly added and removed as fragment transactions sometimes may take long time to execute. Unfortunately enqueued fragment transactions cannot be cancelled, so to make sure that transaction isn't run past container unmount we call executePendingTransactions right before the screen is detached.
- Loading branch information