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

Session2 #90

Closed
wants to merge 2 commits into from
Closed

Session2 #90

wants to merge 2 commits into from

Conversation

manuq
Copy link
Contributor

@manuq manuq commented Aug 30, 2013

No description provided.

Manuel Quiñones added 2 commits August 30, 2013 09:35
Fixes #4611 .

SessionManager now sends a stop signal in each logout, shutdown or
reboot.  Apisocket connects to this signal to send the stop message to
web activities, so they can do cleanup and store.

SessionManager now uses the ShellModel to check if all activities have
been removed.  If not, it tries again after one second for ten times.
After that, it forces shutdown.

SessionManager has been moved completly to the shell.  It was
inheriting a counterpart class in the toolkit, but was the only
consumer of that class.

Journal is a special case.  It will not be destroyed automatically
like other activities.  So we connect it to the SessionManager stop
signal and destroy it in the callback.
The previous commit destroys the Journal window in session logout.
Sugar was assuming that there was always one active activity.  But now
it can be None.
@manuq
Copy link
Contributor Author

manuq commented Aug 30, 2013

Pushed.

@manuq manuq closed this Aug 30, 2013
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.

1 participant