René's URL Explorer Experiment


Title: fix: check is disposed fragment is in the FragmentManager by vakrilov · Pull Request #8166 · NativeScript/NativeScript · GitHub

Open Graph Title: fix: check is disposed fragment is in the FragmentManager by vakrilov · Pull Request #8166 · NativeScript/NativeScript

X Title: fix: check is disposed fragment is in the FragmentManager by vakrilov · Pull Request #8166 · NativeScript/NativeScript

Description: PR Checklist The PR title follows our guidelines: https://github.com/NativeScript/NativeScript/blob/master/CONTRIBUTING.md#commit-messages. There is an issue for the bug/feature this PR is for. To avoid wasting your time, it's best to open a suggestion issue first and wait for approval before working on it. You have signed the CLA. All existing tests are passing: https://github.com/NativeScript/NativeScript/blob/master/DevelopmentWorkflow.md#running-unit-tests. Tests for the changes are included - https://github.com/NativeScript/NativeScript/blob/master/WritingUnitTests.md. What is the current behavior? Fragment is always removed from the fragment manager in the Frame.disposeCurrentFragment() method. Different versions of androidX behave differently if you try to remove a fragment from a fragment manager. What is the new behavior? Added a check if the current fragment is actually contained in the fragment manager returned by the _getFragmentManager() Fixes #8037

Open Graph Description: PR Checklist The PR title follows our guidelines: https://github.com/NativeScript/NativeScript/blob/master/CONTRIBUTING.md#commit-messages. There is an issue for the bug/feature this PR is for. ...

X Description: PR Checklist The PR title follows our guidelines: https://github.com/NativeScript/NativeScript/blob/master/CONTRIBUTING.md#commit-messages. There is an issue for the bug/feature this PR is for. ...

Opengraph URL: https://github.com/NativeScript/NativeScript/pull/8166

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:fc1b0f00-d888-6999-8ccf-2d9455afb438
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id9626:A5031:39C62EB:4A9F567:697500BD
html-safe-nonce427236665e89ba19b672d2c739957f6ba030049bb898707c72b9db729dd0047b
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NjI2OkE1MDMxOjM5QzYyRUI6NEE5RjU2Nzo2OTc1MDBCRCIsInZpc2l0b3JfaWQiOiIzOTk0MzU5MTM5NDAzMTA0NDQ1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac29f7554114abc0ed992c8b06593d24e6c61067c29f0091fd506943356a0d3252
hovercard-subject-tagpull_request:348870227
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/NativeScript/NativeScript/pull/8166/files
twitter:imagehttps://avatars.githubusercontent.com/u/4092076?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/4092076?s=400&v=4
og:image:altPR Checklist The PR title follows our guidelines: https://github.com/NativeScript/NativeScript/blob/master/CONTRIBUTING.md#commit-messages. There is an issue for the bug/feature this PR is for. ...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None4a4bf5f4e28041a9d2e5c107d7d20b78b4294ba261cab243b28167c16a623a1f
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/NativeScript/NativeScript git https://github.com/NativeScript/NativeScript.git
octolytics-dimension-user_id7392261
octolytics-dimension-user_loginNativeScript
octolytics-dimension-repository_id31492490
octolytics-dimension-repository_nwoNativeScript/NativeScript
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id31492490
octolytics-dimension-repository_network_root_nwoNativeScript/NativeScript
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release488b30e96dfd057fbbe44c6665ccbc030b729dde
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/NativeScript/NativeScript/pull/8166/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FNativeScript%2FNativeScript%2Fpull%2F8166%2Ffiles
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FNativeScript%2FNativeScript%2Fpull%2F8166%2Ffiles
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=NativeScript%2FNativeScript
Reloadhttps://github.com/NativeScript/NativeScript/pull/8166/files
Reloadhttps://github.com/NativeScript/NativeScript/pull/8166/files
Reloadhttps://github.com/NativeScript/NativeScript/pull/8166/files
NativeScript https://github.com/NativeScript
NativeScripthttps://github.com/NativeScript/NativeScript
Please reload this pagehttps://github.com/NativeScript/NativeScript/pull/8166/files
Notifications https://github.com/login?return_to=%2FNativeScript%2FNativeScript
Fork 1.7k https://github.com/login?return_to=%2FNativeScript%2FNativeScript
Star 25.4k https://github.com/login?return_to=%2FNativeScript%2FNativeScript
Code https://github.com/NativeScript/NativeScript
Issues 869 https://github.com/NativeScript/NativeScript/issues
Pull requests 58 https://github.com/NativeScript/NativeScript/pulls
Discussions https://github.com/NativeScript/NativeScript/discussions
Actions https://github.com/NativeScript/NativeScript/actions
Projects 0 https://github.com/NativeScript/NativeScript/projects
Wiki https://github.com/NativeScript/NativeScript/wiki
Security 0 https://github.com/NativeScript/NativeScript/security
Insights https://github.com/NativeScript/NativeScript/pulse
Code https://github.com/NativeScript/NativeScript
Issues https://github.com/NativeScript/NativeScript/issues
Pull requests https://github.com/NativeScript/NativeScript/pulls
Discussions https://github.com/NativeScript/NativeScript/discussions
Actions https://github.com/NativeScript/NativeScript/actions
Projects https://github.com/NativeScript/NativeScript/projects
Wiki https://github.com/NativeScript/NativeScript/wiki
Security https://github.com/NativeScript/NativeScript/security
Insights https://github.com/NativeScript/NativeScript/pulse
Sign up for GitHub https://github.com/signup?return_to=%2FNativeScript%2FNativeScript%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2FNativeScript%2FNativeScript%2Fissues%2Fnew%2Fchoose
vakrilovhttps://github.com/vakrilov
masterhttps://github.com/NativeScript/NativeScript/tree/master
dispose-fragment-crashhttps://github.com/NativeScript/NativeScript/tree/dispose-fragment-crash
Conversation 3 https://github.com/NativeScript/NativeScript/pull/8166
Commits 7 https://github.com/NativeScript/NativeScript/pull/8166/commits
Checks 0 https://github.com/NativeScript/NativeScript/pull/8166/checks
Files changed https://github.com/NativeScript/NativeScript/pull/8166/files
Please reload this pagehttps://github.com/NativeScript/NativeScript/pull/8166/files
fix: check is disposed fragment is in the FragmentManager https://github.com/NativeScript/NativeScript/pull/8166/files#top
Show all changes 7 commits https://github.com/NativeScript/NativeScript/pull/8166/files
a75397a fix: check is disposed fragment is in fragmentMngr Dec 4, 2019 https://github.com/NativeScript/NativeScript/pull/8166/commits/a75397af20d190af7144d650c1187ba8be18d84e
f5fc476 Merge branch 'master' into dispose-fragment-crash dtopuzov Dec 5, 2019 https://github.com/NativeScript/NativeScript/pull/8166/commits/f5fc4769a4d27eee9331115754feedb9b4de3ae0
9fd77fb fix: don't create bitmaps for no-width fragments Dec 6, 2019 https://github.com/NativeScript/NativeScript/pull/8166/commits/9fd77fb648437e3165fc9e758632cb3a760856dd
b20ec86 refactor: use fragment.getFragmentManager Dec 6, 2019 https://github.com/NativeScript/NativeScript/pull/8166/commits/b20ec8696945cae327c36103ef8f7309518cdadc
0cace80 Merge branch 'master' into dispose-fragment-crash dtopuzov Dec 11, 2019 https://github.com/NativeScript/NativeScript/pull/8166/commits/0cace8089ab65573f8ce1fb45ada432ed3e632f5
6cafd7a fix(modal): set update dialogFragment of View after suspend Dec 11, 2019 https://github.com/NativeScript/NativeScript/pull/8166/commits/6cafd7ae3be9861511002b13f4dde3b966688f42
c0f7dcd Merge branch 'master' into dispose-fragment-crash dtopuzov Dec 13, 2019 https://github.com/NativeScript/NativeScript/pull/8166/commits/c0f7dcd52749844391b52b6acd402442b8be2eb0
Clear filters https://github.com/NativeScript/NativeScript/pull/8166/files
Please reload this pagehttps://github.com/NativeScript/NativeScript/pull/8166/files
Please reload this pagehttps://github.com/NativeScript/NativeScript/pull/8166/files
view.android.ts https://github.com/NativeScript/NativeScript/pull/8166/files#diff-594a9d0e26f1b56424c5dad8cbdd9b6083b787c763f1ddf23a9c385bf95fdf2d
frame.android.ts https://github.com/NativeScript/NativeScript/pull/8166/files#diff-3020f68714f136189f05321bd17dcc63c323611e6992409c9ef17d44198c930e
utils.ios.ts https://github.com/NativeScript/NativeScript/pull/8166/files#diff-655152440acdcf6629930d8628f1724099edea16963da47c9379537bb652ebd1
nativescript-core/ui/core/view/view.android.tshttps://github.com/NativeScript/NativeScript/pull/8166/files#diff-594a9d0e26f1b56424c5dad8cbdd9b6083b787c763f1ddf23a9c385bf95fdf2d
View file https://github.com/NativeScript/NativeScript/blob/c0f7dcd52749844391b52b6acd402442b8be2eb0/nativescript-core/ui/core/view/view.android.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/NativeScript/NativeScript/pull/8166/{{ revealButtonHref }}
https://github.com/NativeScript/NativeScript/pull/8166/files#diff-594a9d0e26f1b56424c5dad8cbdd9b6083b787c763f1ddf23a9c385bf95fdf2d
https://github.com/NativeScript/NativeScript/pull/8166/files#diff-594a9d0e26f1b56424c5dad8cbdd9b6083b787c763f1ddf23a9c385bf95fdf2d
nativescript-core/ui/frame/frame.android.tshttps://github.com/NativeScript/NativeScript/pull/8166/files#diff-3020f68714f136189f05321bd17dcc63c323611e6992409c9ef17d44198c930e
View file https://github.com/NativeScript/NativeScript/blob/c0f7dcd52749844391b52b6acd402442b8be2eb0/nativescript-core/ui/frame/frame.android.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/NativeScript/NativeScript/pull/8166/{{ revealButtonHref }}
https://github.com/NativeScript/NativeScript/pull/8166/files#diff-3020f68714f136189f05321bd17dcc63c323611e6992409c9ef17d44198c930e
https://github.com/NativeScript/NativeScript/pull/8166/files#diff-3020f68714f136189f05321bd17dcc63c323611e6992409c9ef17d44198c930e
https://github.com/NativeScript/NativeScript/pull/8166/files#diff-3020f68714f136189f05321bd17dcc63c323611e6992409c9ef17d44198c930e
https://github.com/NativeScript/NativeScript/pull/8166/files#diff-3020f68714f136189f05321bd17dcc63c323611e6992409c9ef17d44198c930e
https://github.com/NativeScript/NativeScript/pull/8166/files#diff-3020f68714f136189f05321bd17dcc63c323611e6992409c9ef17d44198c930e
https://github.com/NativeScript/NativeScript/pull/8166/files#diff-3020f68714f136189f05321bd17dcc63c323611e6992409c9ef17d44198c930e
https://github.com/NativeScript/NativeScript/pull/8166/files#diff-3020f68714f136189f05321bd17dcc63c323611e6992409c9ef17d44198c930e
nativescript-core/utils/utils.ios.tshttps://github.com/NativeScript/NativeScript/pull/8166/files#diff-655152440acdcf6629930d8628f1724099edea16963da47c9379537bb652ebd1
View file https://github.com/NativeScript/NativeScript/blob/c0f7dcd52749844391b52b6acd402442b8be2eb0/nativescript-core/utils/utils.ios.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/NativeScript/NativeScript/pull/8166/{{ revealButtonHref }}
https://github.com/NativeScript/NativeScript/pull/8166/files#diff-655152440acdcf6629930d8628f1724099edea16963da47c9379537bb652ebd1
https://github.com/NativeScript/NativeScript/pull/8166/files#diff-655152440acdcf6629930d8628f1724099edea16963da47c9379537bb652ebd1
https://github.com/NativeScript/NativeScript/pull/8166/files#diff-655152440acdcf6629930d8628f1724099edea16963da47c9379537bb652ebd1
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.