From 8c168ed1c96b74fea69fdd0cd000e99579bc592f Mon Sep 17 00:00:00 2001 From: Noah Date: Fri, 5 Dec 2025 12:19:46 -0500 Subject: [PATCH] chore: remove stale comment from preClose hook Signed-off-by: Noah --- index.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/index.js b/index.js index c76f1db..46f5a48 100644 --- a/index.js +++ b/index.js @@ -210,9 +210,6 @@ function fastifyWebsocket (fastify, opts, next) { } }) - // Fastify is missing a pre-close event, or the ability to - // add a hook before the server.close call. We need to resort - // to monkeypatching for now. fastify.addHook('preClose', preClose) function defaultPreClose (done) {