Don't attempt to stop or flush disabled writer frontends

This commit is contained in:
Tim Wojtulewicz 2024-04-10 14:17:12 -07:00
parent 4f9049278b
commit c3e869b827
2 changed files with 25 additions and 0 deletions

View file

@ -206,6 +206,9 @@ protected:
static const int WRITER_BUFFER_SIZE = 1000;
int write_buffer_pos; // Position of next write in buffer.
threading::Value*** write_buffer; // Buffer of size WRITER_BUFFER_SIZE.
private:
void CleanupWriteBuffer();
};
} // namespace zeek::logging