Closed pekuz closed 2 months ago
The factory has stop and start methods which serve the model of its intended use better than a close which implies a terminal outcome. Adding a close method adds little value over those and making it auto closeable seems like a recipe for disaster.
... or even implement AutoCloseable.