Jump to content
The simFlight Network Forums

FSUIPC7 v7.2.10 Hang with lua crash error when ending flight and going to MSFS main menu


LeoSchoonbroodt

Recommended Posts

Hi Leo,

14 hours ago, LeoSchoonbroodt said:

Last entry in logs states that FSUIPC7 is waiting for the the lua to process the termination event.
All this does is closing the Com Ports, sleep for 500 ms and then execute an ipc.exit()

You don't/shouldn't call ipc.exit() in the terminate event function, as the thread is already terminating. Remove that, and also the sleep.

Try that first, but if it continues to crash in the same place, try commenting out your event.terminate statement completely (so that the termination event isn't called) and let the thread be forcibly killed, when needed, instead.

John

Link to comment
Share on other sites

  • Replies 53
  • Created
  • Last Reply

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. Guidelines Privacy Policy We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.