From 3ed168abd70f37145e46dbe1c98363f9dd8afb0d Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Wed, 2 Aug 2023 15:18:59 -0400 Subject: [PATCH] fix: add stub unref method for UDP --- src/proxies/multiSocket/dummySocket.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/proxies/multiSocket/dummySocket.ts b/src/proxies/multiSocket/dummySocket.ts index 1bddc37..e0490f1 100644 --- a/src/proxies/multiSocket/dummySocket.ts +++ b/src/proxies/multiSocket/dummySocket.ts @@ -81,4 +81,6 @@ export default class DummySocket extends Socket { cb && cb(); }, ms) as any; } + + public unref() {} }