Skip to content

Commit 8c168ed

Browse files
authored
chore: remove stale comment from preClose hook
Signed-off-by: Noah <noahnu@gmail.com>
1 parent 67de31b commit 8c168ed

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

index.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -210,9 +210,6 @@ function fastifyWebsocket (fastify, opts, next) {
210210
}
211211
})
212212

213-
// Fastify is missing a pre-close event, or the ability to
214-
// add a hook before the server.close call. We need to resort
215-
// to monkeypatching for now.
216213
fastify.addHook('preClose', preClose)
217214

218215
function defaultPreClose (done) {

0 commit comments

Comments
 (0)