Why don't FAccountInfoRegistry::DoRegister and FAccountInfoRegistry::DoUnregister lock IndexLock?

Hey,

Why don’t FAccountInfoRegistry::DoRegister and FAccountInfoRegistry::DoUnregister lock IndexLock?

I find this strange because the Find() functions do apply the lock and if you look at FAccountInfoRegistryNULL if then implements Register and Unregister functions which take the lock anyway.

Why does the base class only use the lock for reads and not writes?

Cheers!

Hi,

While I can’t speak to the intention behind the original implementation, we are aware of this inconsistency. We do have an open internal task to refactor how the locks in FAccountInfoRegistry are handled; although, I cannot provide any estimate as to when that change may happen.

Thanks,

Alex

OK - thank you.