-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: clean 'close' event listeners on socket server after generating new proxy config. #5001
Conversation
Thank you |
/easycla |
Ignore failed CI, we will fix it soon |
thank you for your reminder, please mention me when something need to be fixed. |
I removed optional chaining and nullish coalescing operator to make code compatible with lower node versions. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## next #5001 +/- ##
==========================================
+ Coverage 90.38% 90.52% +0.13%
==========================================
Files 16 16
Lines 1706 1710 +4
Branches 649 652 +3
==========================================
+ Hits 1542 1548 +6
+ Misses 150 148 -2
Partials 14 14 ☔ View full report in Codecov by Sentry. |
@snitin315 I want to merge it (you can do it too), will be it hard to rebase the next? |
No rebase won't be hard. But we can directly merge it in the next branch too |
…new proxy config. (#5001)
For Bugs and Features; did you add new tests?
yes, test cases added.
Motivation / Use-Case
when pass a function to proxy config. every time firing
handler
function, a new proxyServer were set, and events on old proxyServer has not been cleared.Breaking Changes
no
Additional Info