Correct merge of background move pool.

This commit is contained in:
Vladimir Chebotarev 2019-11-30 22:35:37 +03:00
parent 3e3e9ac56f
commit 07c4fa3cc0

View File

@ -1508,7 +1508,7 @@ BackgroundProcessingPool & Context::getBackgroundMovePool()
{
auto lock = getLock();
if (!shared->background_move_pool)
shared->background_move_pool.emplace(settings.background_move_pool_size, "BackgroundMovePool", "BgMoveProcPool");
shared->background_move_pool.emplace(settings.background_move_pool_size, getConfigRef(), "BackgroundMovePool", "BgMoveProcPool");
return *shared->background_move_pool;
}