-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Closed
Description
Describe the bug
As the pongtimeout close the websocket, the recently introduced test on onclose
(l.234): ws === wsRef.value
is false and the reconnect code is skipped.
Reproduction
/
System Info
System:
OS: Windows 11 10.0.26100
CPU: (8) x64 Intel(R) Core(TM) i5-8350U CPU @ 1.70GHz
Memory: 11.33 GB / 31.81 GB
Binaries:
Node: 22.7.0 - C:\Program Files\nodejs\node.EXE
Yarn: 1.22.19 - ~\node_modules\.bin\yarn.CMD
npm: 10.8.2 - C:\Program Files\nodejs\npm.CMD
pnpm: 9.12.3 - C:\Program Files\nodejs\pnpm.CMD
Browsers:
Edge: Chromium (130.0.2849.46)
Internet Explorer: 11.0.26100.1882
Used Package Manager
yarn
Validations
- Follow our Code of Conduct
- Read the Contributing Guidelines.
- Read the docs.
- Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- Make sure this is a VueUse issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to https://github.com/vuejs/core instead.
- Check that this is a concrete bug. For Q&A open a GitHub Discussion.
- The provided reproduction is a minimal reproducible example of the bug.
Metadata
Metadata
Assignees
Labels
No labels