Closed nezuo closed 7 months ago
Instead of throwing an error when calling Document:close() again, it will instead return the original promise from the first call.
Document:close()
The motivation for this change is so that it won't error when calling it from PlayerRemoving if game:BindToClose happens to run first.
PlayerRemoving
game:BindToClose
Instead of throwing an error when calling
Document:close()
again, it will instead return the original promise from the first call.The motivation for this change is so that it won't error when calling it from
PlayerRemoving
ifgame:BindToClose
happens to run first.