Browse Source

removed useless window bind for UDP constructor

oscar 1 tháng trước cách đây
mục cha
commit
500924a895
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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,
   };
 }