MadStudioRoblox / ProfileService

Universal session-locked savable table API
https://madstudioroblox.github.io/ProfileService/
Apache License 2.0
298 stars 158 forks source link

Server shutdown doesn't yield when saving profiles #2

Closed TreehouseFalcon closed 4 years ago

TreehouseFalcon commented 4 years ago

The condition that yields in the bindtoclose only yields if the amount of profiles loading>0 AND profiles saving>0. This means that more often than not the BindToClose will not yield at all, causing every profile loaded when the game closes to have a dead session lock.

LM-loleris commented 4 years ago

Thank you for the pull request!

Merging!