mirror of
https://github.com/zeek/zeek.git
synced 2025-10-10 02:28:21 +00:00
Don't assert during shutdown.
This commit is contained in:
parent
8eaf40ec18
commit
89a3bb33c8
1 changed files with 3 additions and 1 deletions
|
@ -2561,7 +2561,9 @@ bool RemoteSerializer::SendLogWrite(Peer* peer, EnumVal* id, EnumVal* writer, st
|
||||||
if ( ! peer->logs_requested )
|
if ( ! peer->logs_requested )
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
assert(peer->log_buffer);
|
if ( ! peer->log_buffer )
|
||||||
|
// Peer shutting down.
|
||||||
|
return false;
|
||||||
|
|
||||||
// Serialize the log record entry.
|
// Serialize the log record entry.
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue