nezuo / lapis

A DataStore abstraction library for Roblox
https://nezuo.github.io/lapis/
MIT License
55 stars 10 forks source link

Fix loading during game:BindToClose #43

Closed nezuo closed 5 months ago

nezuo commented 6 months ago

This PR stops documents from loading after game:BindToClose has been called. If the UpdateAsync call has been made, we can only stop it by returning nil, we can't stop the request once a value has been sent. This will also automatically close documents that still manage to load after game:BindToClose.

Resolves #37.