dolittle / Runtime

Runtime for Dolittle
https://dolittle.io
MIT License
14 stars 10 forks source link

Fixes a mem leak in AbstractScopedStreamProcessor #715

Closed mhelleborg closed 2 years ago

mhelleborg commented 2 years ago

Fixed

woksin commented 2 years ago

Won't Dispose be called on it either way in the outermost finally-block?

mhelleborg commented 2 years ago

Won't Dispose be called on it either way in the outermost finally-block?

It creates new instances in the inner loop, which needs to be disposed too. This was missing before