]> git.smokeofanarchy.ru Git - space-station-14.git/commit
Remove bogus C# finalizers (#28315)
authorPieter-Jan Briers <pieterjan.briers+git@gmail.com>
Mon, 27 May 2024 21:52:23 +0000 (23:52 +0200)
committerGitHub <noreply@github.com>
Mon, 27 May 2024 21:52:23 +0000 (17:52 -0400)
commitcf8fcb170a185c06c966c1a1dcf7eec7ada52745
tree551f1b47975428a9298587f8072884d5878f36c0
parent224af2af0eefce38d2ab1c3e87b01fbe6d913b20
Remove bogus C# finalizers (#28315)

Begging people to learn how this programming language works before throwing random syntax into a file.

None of these finalizers ever worked. I also checked whether they were memory leaks and needed *proper* shutdown logic, but they're all instantiated-once UI controls that last for the entire lifetime of the program so it's probably fine.
Content.Client/Interaction/DragDropHelper.cs
Content.Client/UserInterface/Systems/Actions/Controls/ActionButtonContainer.cs
Content.Client/UserInterface/Systems/Inventory/Controls/ItemSlotButtonContainer.cs