René's URL Explorer Experiment


Title: Throttle callbacks (again) + crash fix by srajko · Pull Request #944 · nodegit/nodegit · GitHub

Open Graph Title: Throttle callbacks (again) + crash fix by srajko · Pull Request #944 · nodegit/nodegit

X Title: Throttle callbacks (again) + crash fix by srajko · Pull Request #944 · nodegit/nodegit

Description: This reverts the removal of throttling, and adds two changes that seem to resolve the crash. The likely fix is 1e585ea, which restores some logic I omitted in the refactoring, thinking it should not make a difference... but it looks like it did. I am a little worried about the state of the raw object making a difference after its wrapper has been destroyed, but maybe I'm just missing the big picture of what's happening here. In any case, the logic matches what we were doing before, and no crash is better than crash.

Open Graph Description: This reverts the removal of throttling, and adds two changes that seem to resolve the crash. The likely fix is 1e585ea, which restores some logic I omitted in the refactoring, thinking it should n...

X Description: This reverts the removal of throttling, and adds two changes that seem to resolve the crash. The likely fix is 1e585ea, which restores some logic I omitted in the refactoring, thinking it should n...

Opengraph URL: https://github.com/nodegit/nodegit/pull/944

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:b47021d5-3002-cea6-91de-0b6e8b71bb39
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idA766:378B91:65EC99:89F9E5:6A5FCFDC
html-safe-nonce044aefae74e28480c9118d4450557aa318251581ef0d2c0258d0d916dde2e34d
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNzY2OjM3OEI5MTo2NUVDOTk6ODlGOUU1OjZBNUZDRkRDIiwidmlzaXRvcl9pZCI6IjkxMjkzMDk2MDQ4NjIyMTgyMDQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac7adc87c73cb5616373d25e74a5b4443c1eff1b71c590b2867e22318f7a637ccd
hovercard-subject-tagpull_request:62163078
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/nodegit/nodegit/pull/944/files
twitter:imagehttps://avatars.githubusercontent.com/u/291007?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/291007?s=400&v=4
og:image:altThis reverts the removal of throttling, and adds two changes that seem to resolve the crash. The likely fix is 1e585ea, which restores some logic I omitted in the refactoring, thinking it should n...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None53a28a7799cbf673993ab89fc44869fea4c4a6545a861a4d1445e83e8d03aabd
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/nodegit/nodegit git https://github.com/nodegit/nodegit.git
octolytics-dimension-user_id657068
octolytics-dimension-user_loginnodegit
octolytics-dimension-repository_id1383170
octolytics-dimension-repository_nwonodegit/nodegit
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id1383170
octolytics-dimension-repository_network_root_nwonodegit/nodegit
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
releasedc08399f879d576f0edbb8c52a0a1a30d498b203
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/nodegit/nodegit/pull/944/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fnodegit%2Fnodegit%2Fpull%2F944%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
Code QualityEnforce quality at mergehttps://github.com/features/code-quality
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%2Fnodegit%2Fnodegit%2Fpull%2F944%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=nodegit%2Fnodegit
Reloadhttps://github.com/nodegit/nodegit/pull/944/files
Reloadhttps://github.com/nodegit/nodegit/pull/944/files
Reloadhttps://github.com/nodegit/nodegit/pull/944/files
Please reload this pagehttps://github.com/nodegit/nodegit/pull/944/files
nodegit https://github.com/nodegit
nodegithttps://github.com/nodegit/nodegit
Notifications https://github.com/login?return_to=%2Fnodegit%2Fnodegit
Fork 698 https://github.com/login?return_to=%2Fnodegit%2Fnodegit
Star 5.8k https://github.com/login?return_to=%2Fnodegit%2Fnodegit
Code https://github.com/nodegit/nodegit
Issues 343 https://github.com/nodegit/nodegit/issues
Pull requests 20 https://github.com/nodegit/nodegit/pulls
Actions https://github.com/nodegit/nodegit/actions
Projects https://github.com/nodegit/nodegit/projects
Security and quality 0 https://github.com/nodegit/nodegit/security
Insights https://github.com/nodegit/nodegit/pulse
Code https://github.com/nodegit/nodegit
Issues https://github.com/nodegit/nodegit/issues
Pull requests https://github.com/nodegit/nodegit/pulls
Actions https://github.com/nodegit/nodegit/actions
Projects https://github.com/nodegit/nodegit/projects
Security and quality https://github.com/nodegit/nodegit/security
Insights https://github.com/nodegit/nodegit/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fnodegit%2Fnodegit%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fnodegit%2Fnodegit%2Fissues%2Fnew%2Fchoose
johnhaley81https://github.com/johnhaley81
nodegit:masterhttps://github.com/nodegit/nodegit/tree/master
srajko:throttle-crash-fixhttps://github.com/srajko/nodegit/tree/throttle-crash-fix
Conversation 2 https://github.com/nodegit/nodegit/pull/944
Commits 3 https://github.com/nodegit/nodegit/pull/944/commits
Checks 0 https://github.com/nodegit/nodegit/pull/944/checks
Files changed https://github.com/nodegit/nodegit/pull/944/files
Please reload this pagehttps://github.com/nodegit/nodegit/pull/944/files
Throttle callbacks (again) + crash fix https://github.com/nodegit/nodegit/pull/944/files#top
Show all changes 3 commits https://github.com/nodegit/nodegit/pull/944/files
50a620d Readd throttling srajko Mar 8, 2016 https://github.com/nodegit/nodegit/pull/944/commits/50a620d7a7b42049b242a1cfb1f8812ebe24f088
c280d38 Remove HandleScope from Set srajko Mar 8, 2016 https://github.com/nodegit/nodegit/pull/944/commits/c280d3859c52a0e2dc74f807d7a984187d77c9e1
b0089b0 Reintroduce HasCallback check when clearing payload srajko Mar 8, 2016 https://github.com/nodegit/nodegit/pull/944/commits/b0089b04b70bff39829b6a6b95ef63ce78a89bca
Clear filters https://github.com/nodegit/nodegit/pull/944/files
Please reload this pagehttps://github.com/nodegit/nodegit/pull/944/files
Please reload this pagehttps://github.com/nodegit/nodegit/pull/944/files
callbacks.json https://github.com/nodegit/nodegit/pull/944/files#diff-b22afa0ba19907f3668fcbd455c6840cadab532395d855cf9aa38b99b654fc7e
async_baton.h https://github.com/nodegit/nodegit/pull/944/files#diff-ac15ad8f3aa49262cbbc1dcb2377cb6f3f1f1a7ca3b8593d9df294487de32442
callback_wrapper.h https://github.com/nodegit/nodegit/pull/944/files#diff-ed9ddfd093bd50a75ca8076d78629f024472f5bc89aed0e54eb664308b812ab1
lock_master.h https://github.com/nodegit/nodegit/pull/944/files#diff-edcd1b645f23e06e8b52e0ac0dcce34a71a4a7366da15d6f028ce732075fdce2
callback_helpers.cc https://github.com/nodegit/nodegit/pull/944/files#diff-69c0456eeba2003f1d45121f0928c0eecea45117994a7221a16bc0884f14709a
field_accessors.cc https://github.com/nodegit/nodegit/pull/944/files#diff-191a2d4dc20d49214a2b55f9d415677dc81fd14fe7c560a7598aefb46a0169d3
class_content.cc https://github.com/nodegit/nodegit/pull/944/files#diff-28618c5cbab5c17f45ffad773d9ad5486ff9c7b8b31c916d53616c98c751daa1
class_header.h https://github.com/nodegit/nodegit/pull/944/files#diff-25ee49e4f3bdf45b52b23f17fb4fed35cd78702ba9e670d4f51cdfee3ae4296a
struct_content.cc https://github.com/nodegit/nodegit/pull/944/files#diff-242813fbf3504e90c186d8cd2636a37035a714fdef02498b6774d61b6a256978
struct_header.h https://github.com/nodegit/nodegit/pull/944/files#diff-46b0fc4d3930421a977f56345238c15ad1e71654d1a831d9a011f8ca1784181d
clone.js https://github.com/nodegit/nodegit/pull/944/files#diff-86b13b487cd1d6baf7f9f73aebd1a5ec5b688291f689b3d10adb15530b1007ea
generate/input/callbacks.jsonhttps://github.com/nodegit/nodegit/pull/944/files#diff-b22afa0ba19907f3668fcbd455c6840cadab532395d855cf9aa38b99b654fc7e
View file https://github.com/srajko/nodegit/blob/b0089b04b70bff39829b6a6b95ef63ce78a89bca/generate/input/callbacks.json
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/nodegit/nodegit/pull/944/{{ revealButtonHref }}
https://github.com/nodegit/nodegit/pull/944/files#diff-b22afa0ba19907f3668fcbd455c6840cadab532395d855cf9aa38b99b654fc7e
https://github.com/nodegit/nodegit/pull/944/files#diff-b22afa0ba19907f3668fcbd455c6840cadab532395d855cf9aa38b99b654fc7e
https://github.com/nodegit/nodegit/pull/944/files#diff-b22afa0ba19907f3668fcbd455c6840cadab532395d855cf9aa38b99b654fc7e
https://github.com/nodegit/nodegit/pull/944/files#diff-b22afa0ba19907f3668fcbd455c6840cadab532395d855cf9aa38b99b654fc7e
https://github.com/nodegit/nodegit/pull/944/files#diff-b22afa0ba19907f3668fcbd455c6840cadab532395d855cf9aa38b99b654fc7e
https://github.com/nodegit/nodegit/pull/944/files#diff-b22afa0ba19907f3668fcbd455c6840cadab532395d855cf9aa38b99b654fc7e
https://github.com/nodegit/nodegit/pull/944/files#diff-b22afa0ba19907f3668fcbd455c6840cadab532395d855cf9aa38b99b654fc7e
https://github.com/nodegit/nodegit/pull/944/files#diff-b22afa0ba19907f3668fcbd455c6840cadab532395d855cf9aa38b99b654fc7e
generate/templates/manual/include/async_baton.hhttps://github.com/nodegit/nodegit/pull/944/files#diff-ac15ad8f3aa49262cbbc1dcb2377cb6f3f1f1a7ca3b8593d9df294487de32442
View file https://github.com/srajko/nodegit/blob/b0089b04b70bff39829b6a6b95ef63ce78a89bca/generate/templates/manual/include/async_baton.h
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/nodegit/nodegit/pull/944/{{ revealButtonHref }}
https://github.com/nodegit/nodegit/pull/944/files#diff-ac15ad8f3aa49262cbbc1dcb2377cb6f3f1f1a7ca3b8593d9df294487de32442
https://github.com/nodegit/nodegit/pull/944/files#diff-ac15ad8f3aa49262cbbc1dcb2377cb6f3f1f1a7ca3b8593d9df294487de32442
generate/templates/manual/include/callback_wrapper.hhttps://github.com/nodegit/nodegit/pull/944/files#diff-ed9ddfd093bd50a75ca8076d78629f024472f5bc89aed0e54eb664308b812ab1
View file https://github.com/srajko/nodegit/blob/b0089b04b70bff39829b6a6b95ef63ce78a89bca/generate/templates/manual/include/callback_wrapper.h
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/nodegit/nodegit/pull/944/{{ revealButtonHref }}
generate/templates/manual/include/lock_master.hhttps://github.com/nodegit/nodegit/pull/944/files#diff-edcd1b645f23e06e8b52e0ac0dcce34a71a4a7366da15d6f028ce732075fdce2
View file https://github.com/srajko/nodegit/blob/b0089b04b70bff39829b6a6b95ef63ce78a89bca/generate/templates/manual/include/lock_master.h
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/nodegit/nodegit/pull/944/{{ revealButtonHref }}
https://github.com/nodegit/nodegit/pull/944/files#diff-edcd1b645f23e06e8b52e0ac0dcce34a71a4a7366da15d6f028ce732075fdce2
generate/templates/partials/callback_helpers.cchttps://github.com/nodegit/nodegit/pull/944/files#diff-69c0456eeba2003f1d45121f0928c0eecea45117994a7221a16bc0884f14709a
View file https://github.com/srajko/nodegit/blob/b0089b04b70bff39829b6a6b95ef63ce78a89bca/generate/templates/partials/callback_helpers.cc
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/nodegit/nodegit/pull/944/{{ revealButtonHref }}
https://github.com/nodegit/nodegit/pull/944/files#diff-69c0456eeba2003f1d45121f0928c0eecea45117994a7221a16bc0884f14709a
https://github.com/nodegit/nodegit/pull/944/files#diff-69c0456eeba2003f1d45121f0928c0eecea45117994a7221a16bc0884f14709a
https://github.com/nodegit/nodegit/pull/944/files#diff-69c0456eeba2003f1d45121f0928c0eecea45117994a7221a16bc0884f14709a
https://github.com/nodegit/nodegit/pull/944/files#diff-69c0456eeba2003f1d45121f0928c0eecea45117994a7221a16bc0884f14709a
https://github.com/nodegit/nodegit/pull/944/files#diff-69c0456eeba2003f1d45121f0928c0eecea45117994a7221a16bc0884f14709a
https://github.com/nodegit/nodegit/pull/944/files#diff-69c0456eeba2003f1d45121f0928c0eecea45117994a7221a16bc0884f14709a
generate/templates/partials/field_accessors.cchttps://github.com/nodegit/nodegit/pull/944/files#diff-191a2d4dc20d49214a2b55f9d415677dc81fd14fe7c560a7598aefb46a0169d3
View file https://github.com/srajko/nodegit/blob/b0089b04b70bff39829b6a6b95ef63ce78a89bca/generate/templates/partials/field_accessors.cc
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/nodegit/nodegit/pull/944/{{ revealButtonHref }}
https://github.com/nodegit/nodegit/pull/944/files#diff-191a2d4dc20d49214a2b55f9d415677dc81fd14fe7c560a7598aefb46a0169d3
https://github.com/nodegit/nodegit/pull/944/files#diff-191a2d4dc20d49214a2b55f9d415677dc81fd14fe7c560a7598aefb46a0169d3
https://github.com/nodegit/nodegit/pull/944/files#diff-191a2d4dc20d49214a2b55f9d415677dc81fd14fe7c560a7598aefb46a0169d3
https://github.com/nodegit/nodegit/pull/944/files#diff-191a2d4dc20d49214a2b55f9d415677dc81fd14fe7c560a7598aefb46a0169d3
https://github.com/nodegit/nodegit/pull/944/files#diff-191a2d4dc20d49214a2b55f9d415677dc81fd14fe7c560a7598aefb46a0169d3
https://github.com/nodegit/nodegit/pull/944/files#diff-191a2d4dc20d49214a2b55f9d415677dc81fd14fe7c560a7598aefb46a0169d3
https://github.com/nodegit/nodegit/pull/944/files#diff-191a2d4dc20d49214a2b55f9d415677dc81fd14fe7c560a7598aefb46a0169d3
https://github.com/nodegit/nodegit/pull/944/files#diff-191a2d4dc20d49214a2b55f9d415677dc81fd14fe7c560a7598aefb46a0169d3
https://github.com/nodegit/nodegit/pull/944/files#diff-191a2d4dc20d49214a2b55f9d415677dc81fd14fe7c560a7598aefb46a0169d3
https://github.com/nodegit/nodegit/pull/944/files#diff-191a2d4dc20d49214a2b55f9d415677dc81fd14fe7c560a7598aefb46a0169d3
generate/templates/templates/class_content.cchttps://github.com/nodegit/nodegit/pull/944/files#diff-28618c5cbab5c17f45ffad773d9ad5486ff9c7b8b31c916d53616c98c751daa1
View file https://github.com/srajko/nodegit/blob/b0089b04b70bff39829b6a6b95ef63ce78a89bca/generate/templates/templates/class_content.cc
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/nodegit/nodegit/pull/944/{{ revealButtonHref }}
https://github.com/nodegit/nodegit/pull/944/files#diff-28618c5cbab5c17f45ffad773d9ad5486ff9c7b8b31c916d53616c98c751daa1
https://github.com/nodegit/nodegit/pull/944/files#diff-28618c5cbab5c17f45ffad773d9ad5486ff9c7b8b31c916d53616c98c751daa1
Please reload this pagehttps://github.com/nodegit/nodegit/pull/944/files
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.