GH-1768: Properly cleanup existing log stream when recreated on with the same ID

This commit is contained in:
Tim Wojtulewicz 2021-12-03 13:46:22 -07:00
parent e7412e257f
commit d50dade24c
2 changed files with 11 additions and 2 deletions

View file

@ -299,6 +299,8 @@ private:
bool CompareFields(const Filter* filter, const WriterFrontend* writer);
bool CheckFilterWriterConflict(const WriterInfo* winfo, const Filter* filter);
bool RemoveStream(unsigned int idx);
std::vector<Stream*> streams; // Indexed by stream enum.
int rotations_pending; // Number of rotations not yet finished.
FuncPtr rotation_format_func;