Closed nikhilpandit closed 9 years ago
If source.Stop() is not called in jsonSink.New and csvSink.New, it is possible that the Stop() never gets called if there is an error. This provides a fix for that case.
source.Stop()
jsonSink.New
csvSink.New
Stop()
Testing: Tested manually, and added to the existing tests for json & csv sink.
lgtm
If
source.Stop()
is not called injsonSink.New
andcsvSink.New
, it is possible that theStop()
never gets called if there is an error. This provides a fix for that case.Testing: Tested manually, and added to the existing tests for json & csv sink.