eclipse-theia / generator-theia-extension

A Yeoman generator for extensions to the Theia IDE
Other
55 stars 40 forks source link

[backend] The backend example is not connection scoped #147

Open kittaakos opened 2 years ago

kittaakos commented 2 years ago

If I open multiple browser windows, the client gets overridden on the backend service implementation.

The backend example either has to maintain an array of connected clients (and should remove the client on browser windows close), or the service should be connection scoped so that each frontend gets its service instance.

JonasHelming commented 2 years ago

Thank you for the report, I agree! Are you interested in a contribution to fix this?

kittaakos commented 2 years ago

Sure. Please assign it to me. Thank you!