Closed uweschaefer closed 7 years ago
There are some leftover Threads running that prevent VM Termination after use. Easy to reproduce:
EventStore eventstore = EventStoreBuilder.newBuilder().singleNodeAddress("127.0.0.1", 1113) .userCredentials("admin", "changeit").build(); eventstore.connect(); Thread.sleep(10000); eventstore.disconnect();
added new method EventStore.shutdown() that disconnects client and initiates executor services shutdown
EventStore.shutdown()
thanks!
There are some leftover Threads running that prevent VM Termination after use. Easy to reproduce: