Skip to content

DefaultGLSPServer.exit(clientID) is gone. What is its replacement? #344

Answered by tortmayr
glsp-bot asked this question in Q&A
Discussion options

You must be logged in to vote

You can register a ClientSessionListener and unsubscribe from the ModelServer once the session/client is closed. For a practical example you can look at the DefaultModelStateProvider. (https://github.com/eclipse-glsp/glsp-server/blob/c58cdef665010e808ad78c222f47e79976ac6c53/plugins/org.eclipse.glsp.server/src/org/eclipse/glsp/server/model/DefaultModelStateProvider.java#L72)

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by planger
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
2 participants