Persistent subscriptions use EventStoreClient for creating its own instance of EventStorePersistentSubscriptionClient. It might be confusing when building services that only use persistent subscriptions and would expect to register that client in the DI container but then it won't work. Now it's fixed.
Also fixed the exception thrown by ESDB subscriptions when stopping.
Persistent subscriptions use
EventStoreClient
for creating its own instance ofEventStorePersistentSubscriptionClient
. It might be confusing when building services that only use persistent subscriptions and would expect to register that client in the DI container but then it won't work. Now it's fixed. Also fixed the exception thrown by ESDB subscriptions when stopping.