mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 15:23:02 +01:00
When no active trace sessions left, clear notification needs
This commit is contained in:
parent
0afa4af870
commit
da44ed0f49
@ -206,6 +206,11 @@ void TraceManager::update_sessions()
|
||||
trace_sessions.remove(i);
|
||||
}
|
||||
}
|
||||
|
||||
// nothing to trace, clear needs
|
||||
if (trace_sessions.getCount() == 0) {
|
||||
memset(&trace_needs, 0, sizeof(trace_needs));
|
||||
}
|
||||
}
|
||||
|
||||
void TraceManager::update_session(const TraceSession& session)
|
||||
|
Loading…
Reference in New Issue
Block a user