Skip to content

Commit

Permalink
Make sure to remove the right delegate
Browse files Browse the repository at this point in the history
  • Loading branch information
cheese3660 committed Dec 28, 2023
1 parent 7a1d323 commit 9a76482
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SpaceWarp.UI/UI/Console/SpaceWarpConsole.cs
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ private void Start()
private void OnDestroy()
{
// Unbinds the OnNewMessageReceived function to the OnNewMessage event when destroyed
OnNewLog -= CreateNewLogEntry;
OnNewLog -= AddToQueue;

}

Expand Down

0 comments on commit 9a76482

Please sign in to comment.