mirror of
https://github.com/zeek/zeek.git
synced 2025-10-06 08:38:20 +00:00
Cleaning up a couple of comments.
This commit is contained in:
parent
fead5f5d5e
commit
16f20507fd
2 changed files with 4 additions and 3 deletions
|
@ -131,8 +131,9 @@ bool AnalyzerSet::Remove(file_analysis::Tag tag, HashKey* key)
|
|||
|
||||
a->Done();
|
||||
|
||||
// We don't delete the analyze object right here because the remove
|
||||
// operation may execute when that will still be accessed.
|
||||
// We don't delete the analyzer object right here because the remove
|
||||
// operation may execute at a time when it can still be accessed.
|
||||
// Instead we let the file know to delete the analyzer later.
|
||||
file->DoneWithAnalyzer(a);
|
||||
|
||||
return true;
|
||||
|
|
|
@ -292,7 +292,7 @@ protected:
|
|||
bool postpone_timeout; /**< Whether postponing timeout is requested. */
|
||||
bool done; /**< If this object is about to be deleted. */
|
||||
AnalyzerSet analyzers; /**< A set of attached file analyzers. */
|
||||
std::list<Analyzer *> done_analyzers; /**< Analyzers we're done with, remembered here until they be safely deleted. */
|
||||
std::list<Analyzer *> done_analyzers; /**< Analyzers we're done with, remembered here until they can be safely deleted. */
|
||||
|
||||
struct BOF_Buffer {
|
||||
BOF_Buffer() : full(false), size(0) {}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue