Skip to content

Ensure session reported end on "slash.app_quit" hook (closes #82) #83

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

Merged
merged 1 commit into from
Sep 16, 2018

Conversation

ayalash
Copy link
Collaborator

@ayalash ayalash commented Sep 13, 2018

No description provided.

@ayalash
Copy link
Collaborator Author

ayalash commented Sep 13, 2018

@vmalloc Can you please review & release a version with this change (after it will be merged)?

@@ -76,6 +77,7 @@ def __init__(self, url=None, keepalive_interval=None, runtoken=None,
self._error_containers = {}
self._runtoken = runtoken
self._propagate_exceptions = propagate_exceptions
self._ended = False
Copy link
Member

@vmalloc vmalloc Sep 13, 2018

Choose a reason for hiding this comment

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

This might cause an attempt at cleanup even before session is assigned. It should be set to True and changed to False only after the session is reported as started

@ayalash
Copy link
Collaborator Author

ayalash commented Sep 16, 2018

@vmalloc I changed. Can you please review?

@vmalloc vmalloc merged commit f9983c9 into develop Sep 16, 2018
@vmalloc vmalloc deleted the ayalas/issue-82 branch September 16, 2018 06:54
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