Pomax / msfs-simconnect-api-wrapper

A JavaScripty wrapper around node-simconnect
Other
14 stars 6 forks source link

we're still hitting SIMCONNECT_EXCEPTION_TOO_MANY_OBJECTS #7

Closed Pomax closed 1 year ago

Pomax commented 1 year ago

As part of #1 I'm still seeing the library throw SIMCONNECT_EXCEPTION_TOO_MANY_OBJECTS after a while, so I need to dig into why that is.

Pomax commented 1 year ago

I suspect this is set forgetting to release its DATA_ID after firing off the setDataOnSimObject call, but we'll see what happens with the current autopilot run.

Pomax commented 1 year ago

with set releasing ids, we end up hitting SIMCONNECT_EXCEPTION_INVALID_DATA_SIZE so something is definitely awry

Pomax commented 1 year ago

Turns out set was forgetting to clear the data object associated with its ID, so... hilarious. Also, fixed now.