Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SetClientData crashes when using Fenix aircraft #1821

Open
neilenns opened this issue Sep 21, 2024 · 0 comments · May be fixed by #1822
Open

SetClientData crashes when using Fenix aircraft #1821

neilenns opened this issue Sep 21, 2024 · 0 comments · May be fixed by #1822
Assignees

Comments

@neilenns
Copy link
Contributor

Describe the bug
Mobiflight is crashing at random times when using Fenix aircraft. Reported in Discord.

Callstack:

System.Runtime.InteropServices.COMException (0xC00000B0): Exception from HRESULT: 0xC00000B0
   at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
   at Microsoft.FlightSimulator.SimConnect.SimConnect.SetClientData(Enum ClientDataID, Enum DefineID, SIMCONNECT_CLIENT_DATA_SET_FLAG Flags, UInt32 dwReserved, Object pDataSet)
   at MobiFlight.SimConnectMSFS.WasmModuleClient.SendWasmCmd(SimConnect simConnect, String command, WasmModuleClientData clientData)
   at MobiFlight.ExecutionManager.Stop()
   at MobiFlight.ExecutionManager.timer_Tick(Object sender, EventArgs e)
   at System.Windows.Forms.Timer.OnTick(EventArgs e)
   at System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
@neilenns neilenns self-assigned this Sep 21, 2024
@neilenns neilenns linked a pull request Sep 21, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant