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

Fixed bokeh server Callback queue bug #2239

Merged
merged 1 commit into from
Jan 3, 2018
Merged

Fixed bokeh server Callback queue bug #2239

merged 1 commit into from
Jan 3, 2018

Conversation

philippjfr
Copy link
Member

@philippjfr philippjfr commented Jan 3, 2018

A previous PR seems to have introduced a bug which clears the event queue before it is processed when using on_event based stream callbacks such the Tap event.

Fixes: #2231

@philippjfr philippjfr added tag: backend: bokeh type: bug Something isn't correct or isn't working labels Jan 3, 2018
@@ -388,7 +388,6 @@ def process_on_event(self):
if not self._queue:
self._active = False
return
self._queue = []
Copy link
Member Author

Choose a reason for hiding this comment

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

Not evident from looking at this diff but the queue is already being cleared four lines below.

Copy link
Contributor

Choose a reason for hiding this comment

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

Annoying!

@jlstevens
Copy link
Contributor

Annoying one line fix! Anyway, looks good. Merging.

@jlstevens jlstevens merged commit d52c1d7 into master Jan 3, 2018
@philippjfr
Copy link
Member Author

This desperately needs tests so I've made a note in #1488.

@philippjfr philippjfr deleted the server_event_fix branch January 13, 2018 13:12
philippjfr added a commit that referenced this pull request Feb 9, 2018
@philippjfr philippjfr added this to the 1.9.3 milestone Feb 11, 2018
Copy link

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 25, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
tag: backend: bokeh type: bug Something isn't correct or isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants