When a player disconnects, fail all unresolved requests that were sent to that player

This commit is contained in:
Manuel Vögele
2021-04-27 09:41:22 +02:00
parent fb3aeaf813
commit b3b8b138bf
4 changed files with 110 additions and 3 deletions
+1
View File
@@ -5,6 +5,7 @@
### Bugfixes
- When an invalid user id is specified socketlib will now throw the correct error message.
- When a player disconnects the moment an execution has been scheduled for their client the execution function will now throw an exception, as it would if the player hadn't been connected in the first place. Previously the execution would just silently fail and the promise never resolve in such cases.
## 1.0.3