Closed huntc closed 9 years ago
It would be nice to have a test for this feature.
I was thinking that its behaviour is covered by the existing BlockingProcessSpec
. You don't think so?
I can't find a test that tries to stop the BlockingProcess from the outside while the streams are blocking.
Fair call. I shall do that. To think I was about to go to bed... ;-)
A very creative solution, I like it! Please see the comments I made for improvements.
LGTM, nice to have it wrapped up as nicely :)
A guardian actor has been introduced that will ensure a stream is closed if its parent is told to stop. Any other thread blocking on a read (for example) for the same stream should be unblocked by this action.
Fixes #24