fix: remove deno hacky fixes (#452)

* fix: remove deno hacky fixes

* fix: upgrade deno workflow from 1.x to 1.39.2
This commit is contained in:
CosminPerRam 2024-01-06 15:46:02 +02:00 committed by GitHub
parent 90b3c6044b
commit 6e6d140b7a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 6 additions and 16 deletions

View file

@ -18,10 +18,7 @@ export default class GlobalUdpSocket {
type: 'udp4',
reuseAddr: true
})
// https://github.com/denoland/deno/issues/20138
if (typeof Deno === "undefined") {
udpSocket.unref();
}
udpSocket.unref()
udpSocket.on('message', (buffer, rinfo) => {
const fromAddress = rinfo.address
const fromPort = rinfo.port