You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The connection scope allows to create instances existing only within the user session, such instances can access each other as well as frontend services.
They also get garbage collected when the session is gone, but if an instance implements Disposable when it is responsibility of a developer to dispose it when a connection is closed. It's not trivial and error-prone.
It would be nice if all disposable objects get disposed together with a connection if they were not disposed already.
The connection scope allows to create instances existing only within the user session, such instances can access each other as well as frontend services.
They also get garbage collected when the session is gone, but if an instance implements
Disposable
when it is responsibility of a developer to dispose it when a connection is closed. It's not trivial and error-prone.It would be nice if all disposable objects get disposed together with a connection if they were not disposed already.
Motivated by #4521 (review)
cc @svenefftinge @benoitf
The text was updated successfully, but these errors were encountered: