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

Add fix for null pointer exception in _next_fn #521

Merged
merged 1 commit into from
Aug 9, 2016

Conversation

svozza
Copy link
Collaborator

@svozza svozza commented Aug 7, 2016

Fixes #518.

if (this._explicitly_destroyed) {
return;
}

if (this._nil_pushed && !this._explicitly_destroyed) {
Copy link
Collaborator

@vqvu vqvu Aug 7, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you remove the check for !this._explicitly_destroyed here? Also in _next_fn. It's always true now.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@svozza svozza force-pushed the 518-null-pointer branch from d728ef9 to 0c4d5c6 Compare August 8, 2016 16:45
@vqvu vqvu merged commit 5b6cd99 into caolan:3.0.0 Aug 9, 2016
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