evaera / roblox-lua-promise

Promise implementation for Roblox
https://eryn.io/roblox-lua-promise/
MIT License
281 stars 78 forks source link

coroutine.close issue #81

Closed techs-sus closed 2 years ago

techs-sus commented 2 years ago

This error happens when a promise is finished and I'm pretty sure its around the ":finally" things.

I think the cause of this bug is because coroutine.close is not a valid function. This bug is not too bad though.

Log:

ServerScriptService.Script:2680: invalid argument #1 to 'defer' (function or thread expected)
evaera commented 2 years ago

Cannot reproduce this. Are you sure it's a problem with the Promise library?

techs-sus commented 2 years ago

I now realize that it isn't a problem with the promise library, it was an issue with where I was running it.