Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix #1335, which as far as I can tell is a Chrome bug? #1345

Merged
merged 1 commit into from Jan 8, 2017

Conversation

bhollis
Copy link
Contributor

@bhollis bhollis commented Jan 8, 2017

The code in question, which reloads stores and retries if you don't have space do do a move, hasn't changed since July or so, and it's been working fine. Now, all of a sudden, it's failing to capture store in the then handler. Pausing at the debugger or using console.log confirms that store is present outside the closure, and undefined within. Capturing just the ID appears to fix it. While I'm generally hesitant to blame browser bugs, this sounds like a bad optimization in a recent V8, or maybe store is getting (improperly) garbage collected before the closure is run. I haven't found the right search terms to find any existing bug report.

@bhollis bhollis merged commit e12112c into DestinyItemManager:dev Jan 8, 2017
@bhollis bhollis deleted the fix1335 branch January 8, 2017 08:46
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.

None yet

1 participant