mirror of
https://github.com/tribufu/node-gamedig
synced 2026-05-18 09:35:50 +00:00
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:
parent
90b3c6044b
commit
6e6d140b7a
5 changed files with 6 additions and 16 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue