Skip to content
Snippets Groups Projects
Commit e899da79 authored by Adam Edward Barton's avatar Adam Edward Barton
Browse files

Fix unnamed lock

parent 8d59d401
No related branches found
No related tags found
No related merge requests found
......@@ -54,7 +54,7 @@ void IncidentAsyncTestSvc::handle( const Incident& incident )
}
} else if ( incident.type() == IncidentType::EndEvent ) {
{
std::unique_lock<decltype( m_eraseMutex )>( m_eraseMutex );
std::unique_lock<decltype( m_eraseMutex )> g( m_eraseMutex );
auto res = m_ctxData.unsafe_erase( incident.context() );
if ( res == 0 ) {
warning() << " Context is missing for '" << incident.type() << "' event=" << incident.context().evt() << endmsg;
......
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