Skip to content
Snippets Groups Projects
Commit 3c35ba34 authored by Charles Leggett's avatar Charles Leggett
Browse files

Stop profiling on finalize if needed

See merge request !713
parents 3f991a2e d7f79d13
No related branches found
No related tags found
1 merge request!713Stop profiling on finalize if needed
Pipeline #485734 passed
......@@ -67,7 +67,9 @@ StatusCode JemallocProfileSvc::initialize()
// Finalization of the service.
StatusCode JemallocProfileSvc::finalize()
{
if ( m_profiling ) {
stopProfiling();
}
// unregistering from the IncidentSvc
m_incidentSvc->removeListener( this, IncidentType::BeginEvent );
m_incidentSvc->removeListener( this, IncidentType::EndEvent );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment