mirror of
https://github.com/riperiperi/FSOMonoGame.git
synced 2025-01-22 08:11:46 -05:00
[Perf] Fix embarassing performance nightmare
This commit is contained in:
parent
f6a1c2efa2
commit
13528fe2b6
1 changed files with 1 additions and 1 deletions
|
@ -586,7 +586,7 @@ namespace Microsoft.Xna.Framework.Graphics
|
|||
{
|
||||
lock (_resourcesLock)
|
||||
{
|
||||
_resources.RemoveWhere(wr => !wr.IsAlive);
|
||||
_resources.Remove(resourceReference);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue