Skip to content

Commit a5c94f1

Browse files
authored
Fix incorrect finalizer method name (#249)
1 parent ee9899b commit a5c94f1

File tree

1 file changed

+1
-1
lines changed
  • articles/tutorials/building_2d_games/15_audio_controller

1 file changed

+1
-1
lines changed

articles/tutorials/building_2d_games/15_audio_controller/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ Add the following constructor and finalizer:
5151
[!code-csharp[](./snippets/audiocontroller.cs#ctors)]
5252

5353
> [!NOTE]
54-
> The `AudioController` class implements a [finalizer](https://learn.microsoft.com/en-us/dotnet/csharp/programming-guide/classes-and-structs/finalizers) method `~AudioManager()`. This method is called when an instance of the class is collected by the garbage collector and is here as part of the `IDisposable` implementation.
54+
> The `AudioController` class implements a [finalizer](https://learn.microsoft.com/en-us/dotnet/csharp/programming-guide/classes-and-structs/finalizers) method `~AudioController()`. This method is called when an instance of the class is collected by the garbage collector and is here as part of the `IDisposable` implementation.
5555
5656
### AudioController Methods
5757

0 commit comments

Comments
 (0)