Open monksy opened 5 years ago
Because we aren't considering that the topology could fail, we're not cleaning up if there is a failure in running the topology.
Consider closing even if there was an exception to clean up the directory:
https://github.com/jpzk/mockedstreams/blob/929849f5b60af61660816e218b4ca2fdd8cb32c5/src/main/scala/com/madewithtea/mockedstreams/MockedStreams.scala#L143
Very good point, will add it to the next release!
Because we aren't considering that the topology could fail, we're not cleaning up if there is a failure in running the topology.
Consider closing even if there was an exception to clean up the directory:
https://github.com/jpzk/mockedstreams/blob/929849f5b60af61660816e218b4ca2fdd8cb32c5/src/main/scala/com/madewithtea/mockedstreams/MockedStreams.scala#L143