Use ThreadData cache in zone validation.

This commit is contained in:
Bartosz Taudul 2019-11-10 17:20:55 +01:00
parent b1c88cd1f2
commit 003bed573c

View File

@ -3714,7 +3714,8 @@ void Worker::FrameImageTwiceFailure()
void Worker::ProcessZoneValidation( const QueueZoneValidation& ev ) void Worker::ProcessZoneValidation( const QueueZoneValidation& ev )
{ {
auto td = NoticeThread( m_threadCtx ); auto td = m_threadCtxData;
if( !td ) td = m_threadCtxData = NoticeThread( m_threadCtx );
td->nextZoneId = ev.id; td->nextZoneId = ev.id;
} }