From 45a557f9c0cb6a10a022fa2bc3d4261f82062c3a Mon Sep 17 00:00:00 2001 From: Wojciech Figat Date: Tue, 10 Jan 2023 16:50:52 +0100 Subject: [PATCH] Minor tweaks --- .github/workflows/tests.yml | 6 +++--- Source/Engine/Engine/NativeInterop.cs | 1 - 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 75c732283..56ab6492c 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -73,6 +73,6 @@ jobs: .\Development\Scripts\Windows\CallBuildTool.bat -build -log -arch=x64 -platform=Windows -configuration=Debug -buildtargets="Flax.Build.Tests" - name: Test run: | - Binaries\Editor\Win64\Development\FlaxTests.exe - Source\Platforms\DotNet\NUnit\nunit3-netcore-console.exe Binaries\Tools\FlaxEngine.Tests.dll - Source\Platforms\DotNet\NUnit\nunit3-netcore-console.exe Binaries\Tools\Flax.Build.Tests.dll + .\Binaries\Editor\Win64\Development\FlaxTests.exe + dotnet Source\Platforms\DotNet\NUnit\nunit3-netcore-console.dll Binaries\Tools\FlaxEngine.Tests.dll + dotnet Source\Platforms\DotNet\NUnit\nunit3-netcore-console.dll Binaries\Tools\Flax.Build.Tests.dll diff --git a/Source/Engine/Engine/NativeInterop.cs b/Source/Engine/Engine/NativeInterop.cs index 925a92926..ec1869fe6 100644 --- a/Source/Engine/Engine/NativeInterop.cs +++ b/Source/Engine/Engine/NativeInterop.cs @@ -2990,7 +2990,6 @@ namespace FlaxEngine public IntPtr InvokeThunk(ManagedHandle instanceHandle, IntPtr param1, IntPtr param2, IntPtr param3, IntPtr param4, IntPtr param5, IntPtr param6, IntPtr param7) { IntPtr* nativePtrs = stackalloc IntPtr[] { param1, param2, param3, param4, param5, param6, param7 }; - if (methodDelegate != null) { IntPtr returnValue;