Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

fix possible double call to "beforeInitEvent.done()"#162

Open
twitwi wants to merge 1 commit into
imakewebthings:master from
twitwi:fix-double-call-to-beforeInitEvent-done
Open

fix possible double call to "beforeInitEvent.done()" #162
twitwi wants to merge 1 commit into
imakewebthings:master from
twitwi:fix-double-call-to-beforeInitEvent-done

Conversation

@twitwi

@twitwi twitwi commented Apr 1, 2014

Copy link
Copy Markdown
Contributor

now surrounding beforeInitEvent notification with lockInit/releaseInit:

  • done() will be called as before (but with removed duplicate logic)
  • done() will not risk of being called twice (this actually happened when a beforeInitEvent trigger was locking and releasing the event fast)

now surrounding beforeInitEvent notification with lockInit/releaseInit:
 - done() will be called as before (but with removed duplicate logic)
 - done() will not risk of being called twice (this happened when a beforeInitEvent trigger was locking and releasing the event fast)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

AltStyle によって変換されたページ (->オリジナル) /