FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

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

Repository navigation

Throttle callbacks (again) + crash fix - #944

Merged
johnhaley81 merged 3 commits into
nodegit:masterfrom
srajko:throttle-crash-fix
Apr 9, 2016
Merged

johnhaley81 merged 3 commits into
nodegit:masterfrom
srajko:throttle-crash-fix

Conversation

srajko commented Mar 9, 2016

Copy link
Copy Markdown
Collaborator

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.

srajko commented Mar 9, 2016

Copy link
Copy Markdown
Collaborator Author

This will fix #919

srajko changed the title Throttle callbacks (again) + crash fix [WIP] Throttle callbacks (again) + crash fix Mar 15, 2016
srajko force-pushed the throttle-crash-fix branch 3 times, most recently from a5fc13c to e988385 Compare March 29, 2016 21:44
srajko changed the title [WIP] Throttle callbacks (again) + crash fix Throttle callbacks (again) + crash fix Mar 29, 2016
srajko added 2 commits April 7, 2016 14:46
This HandeScope was introduced with throttling changes, and may have contributed to the crash.
srajko force-pushed the throttle-crash-fix branch from e988385 to 666bb18 Compare April 7, 2016 21:46
This check was removed with throttling changes, and may have contributed to the crash.
srajko force-pushed the throttle-crash-fix branch from 666bb18 to b0089b0 Compare April 8, 2016 00:09

Copy link
Copy Markdown
Collaborator

We've been running this in GK now with no reports of breakage. 👍 this is gtg. Thanks @srajko!

johnhaley81 merged commit 8427b8e into nodegit:master Apr 9, 2016
johnhaley81 deleted the throttle-crash-fix branch April 9, 2016 00:37
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants


Back | FazBrowse Home | New Git URL