Skip to content

Commit

Permalink
Added finalizer so the bink video id gets released
Browse files Browse the repository at this point in the history
  • Loading branch information
justalemon committed Dec 16, 2023
1 parent 4628300 commit e6402e2
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions LemonUI/Elements/ScaledBink.cs
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,15 @@ public ScaledBink(string name, PointF pos, SizeF size) : base(pos, size)

#endregion

#region Finalizer

/// <summary>
/// Finalizes an instance of the <see cref="ScaledBink"/> class.
/// </summary>
~ScaledBink() => Dispose();

#endregion

#region Functions

/// <summary>
Expand Down

0 comments on commit e6402e2

Please sign in to comment.