Comply with .net 8 for now

This commit is contained in:
2026-08-29 23:18:08 +02:00
parent 470a2220ee
commit d99631ddbf
2 changed files with 7 additions and 4 deletions
@@ -113,9 +113,12 @@ namespace FlaxEditor.GUI.Docking
internal void UnlinkWindow()
{
_window?.Window.Closing -= OnClosing;
_window?.Window.LeftButtonHit -= OnLeftButtonHit;
_window = null;
if (_window != null)
{
_window.Window.Closing -= OnClosing;
_window.Window.LeftButtonHit -= OnLeftButtonHit;
_window = null;
}
}
/// <inheritdoc />
@@ -136,7 +136,7 @@ namespace Flax.Build
/// <summary>
/// The maximum SDK version.
/// </summary>
public static Version MaximumVersion => new Version(10, 0);
public static Version MaximumVersion => new Version(8, 0);
/// <inheritdoc />
public override TargetPlatform[] Platforms