diff options
author | Shane Freeder <[email protected]> | 2024-04-11 16:42:18 +0100 |
---|---|---|
committer | Shane Freeder <[email protected]> | 2024-04-11 16:42:18 +0100 |
commit | d6a648d1f8e3b5a617306d3ee67d666752f4226a (patch) | |
tree | 3431fd58ed13bf49ba6df291f3e8e2a3b190f06b /patches/server/0500-Configurable-max-leash-distance.patch | |
parent | 5436d44bf2509ff89129f8790ee4643f09c72871 (diff) | |
download | Paper-fix/stackoverflow-on-stop.tar.gz Paper-fix/stackoverflow-on-stop.zip |
Fix StackOverflowException being thrown on server shutdownfix/stackoverflow-on-stop
paper previously migrated away from using executeIfPossible as this throws a
RejectedExecutionException when the server is shutting down, which is then picked
up by the Connection handler object and causes the player to be kicked without
the intended disconnection message that comes from commands such as /stop, /restart
This was fine, because previously changes made in spigot would just prevent these
packets from being executed anyways. Instead, we'll just use a marker exception
to try to detect this specific state.
Diffstat (limited to 'patches/server/0500-Configurable-max-leash-distance.patch')
0 files changed, 0 insertions, 0 deletions