Skip to content

Commit

Permalink
Merge pull request #41 from mewlist/fix/gameobject-context
Browse files Browse the repository at this point in the history
Fix: Incorrect deregistration of GameObjectContext
  • Loading branch information
mewlist authored Feb 21, 2024
2 parents 7b6bb09 + 2bb8e75 commit b148ec7
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 b148ec7

Please sign in to comment.