rayaman / multi

My multitasking library for lua
MIT License
27 stars 0 forks source link

15.3.0 threaded functions need enhanced error handling #41

Closed rayaman closed 2 years ago

rayaman commented 2 years ago

I've noticed that when an error occurs within a threaded function it doesn't properly trigger the OnError event or returns the error. This needs to be fixed.

rayaman commented 2 years ago

Another issue I've noticed after doing some tests is that, sometimes onerror triggers for normal returns. This isn't good at all. Needs to be looked into.

rayaman commented 2 years ago

This is a serious, but simple fix. Will patch and add changes to 15.2.1 release