This is an automated email from the ASF dual-hosted git repository. markt pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/main by this push: new 4571b30eb9 Remove duplicate leave notification 4571b30eb9 is described below commit 4571b30eb912f2f7602f721f1c0ed2d79f77db68 Author: Mark Thomas <ma...@apache.org> AuthorDate: Wed May 1 17:16:06 2024 +0100 Remove duplicate leave notification session.close() will trigger onClose() exactly once --- webapps/examples/WEB-INF/classes/websocket/snake/SnakeAnnotation.java | 1 - 1 file changed, 1 deletion(-) diff --git a/webapps/examples/WEB-INF/classes/websocket/snake/SnakeAnnotation.java b/webapps/examples/WEB-INF/classes/websocket/snake/SnakeAnnotation.java index 7f14ab8cca..37b1cf9626 100644 --- a/webapps/examples/WEB-INF/classes/websocket/snake/SnakeAnnotation.java +++ b/webapps/examples/WEB-INF/classes/websocket/snake/SnakeAnnotation.java @@ -120,7 +120,6 @@ public class SnakeAnnotation { * Assume all errors are fatal. Close the session and remove the snake from the game. */ session.close(); - onClose(); /* * Correct action depends on root cause. Protect against infinite loops while looking for root cause. */ --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org