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: Ensure callbacks are only called once #44

Merged
merged 1 commit into from
Apr 20, 2016
Merged

fix: Ensure callbacks are only called once #44

merged 1 commit into from
Apr 20, 2016

Conversation

dignifiedquire
Copy link
Member

No description provided.

@@ -31,7 +31,7 @@ exports.setUp = (basePath, blobStore, locks) => {
}

store.createWriteStream('config')
.on('finish', () => {
.once('finish', () => {
Copy link
Member

Choose a reason for hiding this comment

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

there was several finish events? wat?

Copy link
Member Author

Choose a reason for hiding this comment

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

yep 😢 making my debugging life very sad

@daviddias daviddias merged commit e6c83dc into master Apr 20, 2016
@daviddias daviddias deleted the fix/once branch April 20, 2016 12:03
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