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

Do not rely upon destroy response before shutting down keepalive #5

Merged
merged 1 commit into from
Mar 14, 2018

Conversation

gfodor
Copy link
Contributor

@gfodor gfodor commented Mar 14, 2018

It turns out Janus does not send a response message in reply to destroy messages. The result is that the promise returned from destroy is never resolved and also the keepalive routine is never terminated. This updates the API to no longer return a promise and also optimistically ends the keepalive loop.

@gfodor gfodor requested a review from mqp March 14, 2018 21:52
@gfodor gfodor merged commit f55d29c into master Mar 14, 2018
@mqp mqp deleted the bug/keepalive-shutdown branch April 26, 2018 04:51
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