mirror of
https://github.com/zeek/zeek.git
synced 2025-10-03 15:18: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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue