Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed the reset_stream bug caused by InputParser::exit_parser
The method exit_parser calls the destructor of the std::thread object (assuming C++11 is present). A thread join or detatch must be performed before this. So, added a check before calling exit_parser in StreamingDenseFeatures and StreamingVwFeatures whether the parser is in running state. If it is, then added a call to end_parser() before calling exit_parser(), which does the thread join.
- Loading branch information