Closed petergiuntoli closed 4 months ago
This change requires .net 9.0 which is supported in unity 2021.2 (https://docs.unity3d.com/2021.2/Documentation/Manual/CSharpCompiler.html) and up. Alternatively the Remove() code could use TryGetValue() instead of the double lookup with Contains() and then the index operator.
2021.2
Remove()
TryGetValue()
Contains()
The main fix is to ServerSocket.cs which previously retained old connections which could cause bugs when stopping and starting connections.
ServerSocket.cs
This is obsolete if https://github.com/FirstGearGames/FishySteamworks/pull/13 gets merged
This change requires .net 9.0 which is supported in unity
2021.2
(https://docs.unity3d.com/2021.2/Documentation/Manual/CSharpCompiler.html) and up. Alternatively theRemove()
code could useTryGetValue()
instead of the double lookup withContains()
and then the index operator.The main fix is to
ServerSocket.cs
which previously retained old connections which could cause bugs when stopping and starting connections.