using System;
using System.Runtime.InteropServices;
using Godot.NativeInterop;
namespace Godot.Bridge
{
internal static class GCHandleBridge
[UnmanagedCallersOnly]
internal static void FreeGCHandle(IntPtr gcHandlePtr)
try
GCHandle.FromIntPtr(gcHandlePtr).Free();
}
catch (Exception e)
ExceptionUtils.DebugPrintUnhandledException(e);