René's URL Explorer Experiment


Title: fix(core): Provided image source gets unintentionally disposed by CatchABus · Pull Request #10654 · NativeScript/NativeScript · GitHub

Open Graph Title: fix(core): Provided image source gets unintentionally disposed by CatchABus · Pull Request #10654 · NativeScript/NativeScript

X Title: fix(core): Provided image source gets unintentionally disposed by CatchABus · Pull Request #10654 · NativeScript/NativeScript

Description: PR Checklist The PR title follows our guidelines: https://github.com/NativeScript/NativeScript/blob/master/tools/notes/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/tools/notes/DevelopmentWorkflow.md#running-unit-tests-application. Tests for the changes are included - https://github.com/NativeScript/NativeScript/blob/master/tools/notes/WritingUnitTests.md. What is the current behavior? Image provided source has its native instance disposed during view disposal even when ImageSource instance is provided by developer. What is the new behavior? Image provided source does not have its native instance disposed during view disposal when ImageSource instance is provided by developer. To avoid this, we wrap the native source inside a new ImageSource instance. Developers will be responsible for cleaning up the image sources they provide just like it has always been for android. Also, improved code readability for ImageSource.setNativeSource. Fixes #9820 (revisited) #10625

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

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

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

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:d8d8b019-d4fd-f36e-a5a4-988f70082a49
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idE47A:3B954A:1BF234F:2547F27:6A5BAE18
html-safe-nonce38260079bae0943ebc2cbb225772dd06f7a39233ed26c43ea2fe9cdf28e8f2d1
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNDdBOjNCOTU0QToxQkYyMzRGOjI1NDdGMjc6NkE1QkFFMTgiLCJ2aXNpdG9yX2lkIjoiNzQ4OTYzNjU4NzU2MTI2NjcxMiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacd6621389a1958746f4fbb148a9c43f6ce8a5159e7ca8efdc6b86b4b6cd0c05bd
hovercard-subject-tagpull_request:2196398672
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/10654/files
twitter:imagehttps://avatars.githubusercontent.com/u/55595100?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/55595100?s=400&v=4
og:image:altPR Checklist The PR title follows our guidelines: https://github.com/NativeScript/NativeScript/blob/master/tools/notes/CONTRIBUTING.md#commit-messages. There is an issue for the bug/feature this...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None5290d7e14309ad1e76106a9c4237bd1041517e83ea182c8ab756752cb0c6940b
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
release9c975978430e9ad293956f2bbdaf153b1bd84a99
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/NativeScript/NativeScript/pull/10654/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FNativeScript%2FNativeScript%2Fpull%2F10654%2Ffiles
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
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
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
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/enterprise/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%2F10654%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/10654/files
Reloadhttps://github.com/NativeScript/NativeScript/pull/10654/files
Reloadhttps://github.com/NativeScript/NativeScript/pull/10654/files
Please reload this pagehttps://github.com/NativeScript/NativeScript/pull/10654/files
NativeScript https://github.com/NativeScript
NativeScripthttps://github.com/NativeScript/NativeScript
Please reload this pagehttps://github.com/NativeScript/NativeScript/pull/10654/files
Notifications https://github.com/login?return_to=%2FNativeScript%2FNativeScript
Fork 1.7k https://github.com/login?return_to=%2FNativeScript%2FNativeScript
Star 25.6k https://github.com/login?return_to=%2FNativeScript%2FNativeScript
Code https://github.com/NativeScript/NativeScript
Issues 771 https://github.com/NativeScript/NativeScript/issues
Pull requests 67 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 and quality 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 and quality 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
NathanWalkerhttps://github.com/NathanWalker
NativeScript:mainhttps://github.com/NativeScript/NativeScript/tree/main
CatchABus:fix/img-source-cleanup-fixhttps://github.com/CatchABus/NativeScript/tree/fix/img-source-cleanup-fix
Conversation 0 https://github.com/NativeScript/NativeScript/pull/10654
Commits 3 https://github.com/NativeScript/NativeScript/pull/10654/commits
Checks 0 https://github.com/NativeScript/NativeScript/pull/10654/checks
Files changed https://github.com/NativeScript/NativeScript/pull/10654/files
Please reload this pagehttps://github.com/NativeScript/NativeScript/pull/10654/files
fix(core): Provided image source gets unintentionally disposed https://github.com/NativeScript/NativeScript/pull/10654/files#top
Show all changes 3 commits https://github.com/NativeScript/NativeScript/pull/10654/files
6435ce9 fix(core): Provided image source gets unintentionally disposed CatchABus Nov 23, 2024 https://github.com/NativeScript/NativeScript/pull/10654/commits/6435ce919d9e4d374c8c953a2c0b2aa510d5a6e5
7469562 chore: Added argument type CatchABus Nov 24, 2024 https://github.com/NativeScript/NativeScript/pull/10654/commits/7469562ff194407ec37d8e37deb6bd5ef9a95a04
d8c62d8 Merge branch 'main' into fix/img-source-cleanup-fix NathanWalker Jan 13, 2025 https://github.com/NativeScript/NativeScript/pull/10654/commits/d8c62d8bf8927753b1e602c77ace5b5a0c81a119
Clear filters https://github.com/NativeScript/NativeScript/pull/10654/files
Please reload this pagehttps://github.com/NativeScript/NativeScript/pull/10654/files
Please reload this pagehttps://github.com/NativeScript/NativeScript/pull/10654/files
index.android.ts https://github.com/NativeScript/NativeScript/pull/10654/files#diff-08984a463daedb18b5f437154406013580fceb4fdf2b646391a2089f434d5d02
index.d.ts https://github.com/NativeScript/NativeScript/pull/10654/files#diff-269df48a57f2306764c17d02bf35b1383b4d45da562cf6853a7df3d3b21db797
index.ios.ts https://github.com/NativeScript/NativeScript/pull/10654/files#diff-fcc4c6b6d8b15273fae7f3f5608c51d824e0e86de4f016bbaddf67481c379133
image-common.ts https://github.com/NativeScript/NativeScript/pull/10654/files#diff-393a7f258f661a60267e0ba9a69a19e66df426e6343600101f300841e7e08706
packages/core/image-source/index.android.tshttps://github.com/NativeScript/NativeScript/pull/10654/files#diff-08984a463daedb18b5f437154406013580fceb4fdf2b646391a2089f434d5d02
View file https://github.com/CatchABus/NativeScript/blob/d8c62d8bf8927753b1e602c77ace5b5a0c81a119/packages/core/image-source/index.android.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/NativeScript/NativeScript/pull/10654/{{ revealButtonHref }}
https://github.com/NativeScript/NativeScript/pull/10654/files#diff-08984a463daedb18b5f437154406013580fceb4fdf2b646391a2089f434d5d02
https://github.com/NativeScript/NativeScript/pull/10654/files#diff-08984a463daedb18b5f437154406013580fceb4fdf2b646391a2089f434d5d02
https://github.com/NativeScript/NativeScript/pull/10654/files#diff-08984a463daedb18b5f437154406013580fceb4fdf2b646391a2089f434d5d02
https://github.com/NativeScript/NativeScript/pull/10654/files#diff-08984a463daedb18b5f437154406013580fceb4fdf2b646391a2089f434d5d02
packages/core/image-source/index.d.tshttps://github.com/NativeScript/NativeScript/pull/10654/files#diff-269df48a57f2306764c17d02bf35b1383b4d45da562cf6853a7df3d3b21db797
View file https://github.com/CatchABus/NativeScript/blob/d8c62d8bf8927753b1e602c77ace5b5a0c81a119/packages/core/image-source/index.d.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/NativeScript/NativeScript/pull/10654/{{ revealButtonHref }}
https://github.com/NativeScript/NativeScript/pull/10654/files#diff-269df48a57f2306764c17d02bf35b1383b4d45da562cf6853a7df3d3b21db797
https://github.com/NativeScript/NativeScript/pull/10654/files#diff-269df48a57f2306764c17d02bf35b1383b4d45da562cf6853a7df3d3b21db797
packages/core/image-source/index.ios.tshttps://github.com/NativeScript/NativeScript/pull/10654/files#diff-fcc4c6b6d8b15273fae7f3f5608c51d824e0e86de4f016bbaddf67481c379133
View file https://github.com/CatchABus/NativeScript/blob/d8c62d8bf8927753b1e602c77ace5b5a0c81a119/packages/core/image-source/index.ios.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/NativeScript/NativeScript/pull/10654/{{ revealButtonHref }}
https://github.com/NativeScript/NativeScript/pull/10654/files#diff-fcc4c6b6d8b15273fae7f3f5608c51d824e0e86de4f016bbaddf67481c379133
https://github.com/NativeScript/NativeScript/pull/10654/files#diff-fcc4c6b6d8b15273fae7f3f5608c51d824e0e86de4f016bbaddf67481c379133
https://github.com/NativeScript/NativeScript/pull/10654/files#diff-fcc4c6b6d8b15273fae7f3f5608c51d824e0e86de4f016bbaddf67481c379133
https://github.com/NativeScript/NativeScript/pull/10654/files#diff-fcc4c6b6d8b15273fae7f3f5608c51d824e0e86de4f016bbaddf67481c379133
packages/core/ui/image/image-common.tshttps://github.com/NativeScript/NativeScript/pull/10654/files#diff-393a7f258f661a60267e0ba9a69a19e66df426e6343600101f300841e7e08706
View file https://github.com/CatchABus/NativeScript/blob/d8c62d8bf8927753b1e602c77ace5b5a0c81a119/packages/core/ui/image/image-common.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/NativeScript/NativeScript/pull/10654/{{ revealButtonHref }}
https://github.com/NativeScript/NativeScript/pull/10654/files#diff-393a7f258f661a60267e0ba9a69a19e66df426e6343600101f300841e7e08706
https://github.com/NativeScript/NativeScript/pull/10654/files#diff-393a7f258f661a60267e0ba9a69a19e66df426e6343600101f300841e7e08706
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.