Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: autoreload: use correct context within onclose() handler
Old code ran the `onclose()` handler in the context (`this`) of the websocket. This is unwanted because the handler access attributes of the `Client` object. Use arrow function to keep `this`. Signed-off-by: Enrico Scholz <[email protected]>
- Loading branch information