-
-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
clientThis is related to the loon client libraryThis is related to the loon client libraryenhancementNew feature or requestNew feature or requestimplementationThis issue requires changes to the implementationThis issue requires changes to the implementationshared clientThis only affects shared clients, not the core clientThis only affects shared clients, not the core client
Description
Currently shared clients can use a client that is already in use. The documentation says not to do this, but it's not enforced by runtime checks. It would be good to make the SharedClient class a friend class of Client or ClientImpl and add checks that the client isn't "dirty", when creating a SharedClient. In the same way the Client itself should throw an exception as soon as any of its methods are used that may only be used by the SharedClient, when a SharedClient instance exists that wraps the client.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
clientThis is related to the loon client libraryThis is related to the loon client libraryenhancementNew feature or requestNew feature or requestimplementationThis issue requires changes to the implementationThis issue requires changes to the implementationshared clientThis only affects shared clients, not the core clientThis only affects shared clients, not the core client