Hello, I’m experiencing an unmanaged memory leak issue when using the simconnect.SetDataOnSimObject method in my code. The unmanaged memory leak occurs even when I reduce the frequency. Any help or suggestions would be greatly appreciated.
simconnect.SetDataOnSimObject(DEFINITIONS.Struct1, SimConnect.SIMCONNECT_OBJECT_ID_USER, SIMCONNECT_DATA_SET_FLAG.DEFAULT, s1);