瀏覽代碼

removed useless window bind for UDP constructor

oscar 1 月之前
父節點
當前提交
500924a895
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      dSockets.js

+ 1 - 1
dSockets.js

@@ -2,6 +2,6 @@ export async function autoConfSockets() {
   return {
     tcpSocket: TCPSocket,
     tcpServer: TCPServerSocket,
-    udpSocket: UDPSocket.bind(window),
+    udpSocket: UDPSocket,
   };
 }