rdf4j
rdf4j copied to clipboard
Shacl validation may leave threads running
Current Behavior
https://github.com/eclipse/rdf4j/blob/846122c8c7ddac98f7afd0e6cbd55387fd4d2174/core/sail/shacl/src/main/java/org/eclipse/rdf4j/sail/shacl/ShaclSailConnection.java#L520
Throwing an exception without either cancelling or waiting for the rest of the tasks will leave them hanging (and unclosed).
Expected Behavior
All tasks are either successfully canceled or finished.
Steps To Reproduce
No response
Version
3.7.2 and others
Are you interested in contributing a solution yourself?
Yes
Anything else?
No response