Skip to content

Commit

Permalink
Update SingletonSystem.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
ALEXTANGXIAO committed May 24, 2024
1 parent b00679a commit 7914660
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ public static void Release()

if (_singletons != null)
{
for (int i = 0; i < _singletons.Count; ++i)
for (int i = _singletons.Count -1; i >= 0; i--)
{
_singletons[i].Release();
}
Expand Down

0 comments on commit 7914660

Please sign in to comment.