Remove IoCManager.InitThread calls from parallel code. (#13070)
This commit is contained in:
committed by
GitHub
parent
cd803a82bd
commit
4fa2920472
@@ -482,8 +482,6 @@ namespace Content.Server.Decals
|
||||
|
||||
public void UpdatePlayer(IPlayerSession player)
|
||||
{
|
||||
IoCManager.InitThread(_dependencies, replaceExisting: true);
|
||||
|
||||
var xformQuery = GetEntityQuery<TransformComponent>();
|
||||
var chunksInRange = _chunking.GetChunksForSession(player, ChunkSize, xformQuery, _chunkIndexPool, _chunkViewerPool);
|
||||
var staleChunks = _chunkViewerPool.Get();
|
||||
|
||||
Reference in New Issue
Block a user