Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: pass correct this object to WebSocket close handler.
As Firefox calls onclose when navigating away this led to the setTimeout running instantly because of a timeout of `undefined` which then led to a reload of the page which breaks navigating away.
- Loading branch information