Skip to content

Commit

Permalink
Fix: Incorrect deregistration of GameObjectContext
Browse files Browse the repository at this point in the history
  • Loading branch information
mewlist committed Feb 21, 2024
1 parent 7b6bb09 commit 2bb8e75
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion Runtime/Context/GameObjectContext.cs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ private async void OnDestroy()
if (Context is null) return;
loaded = false;
await Shutdown();
ParentContext?.GameObjectContextLoader.Unregister(this);
if (gameObject) Destroy(gameObject);
}

Expand Down

0 comments on commit 2bb8e75

Please sign in to comment.