Browse Source

libuv fix

ncannasse 7 years ago
parent
commit
59260ee0d5
1 changed files with 2 additions and 4 deletions
  1. 2 4
      hxd/net/Socket.hx

+ 2 - 4
hxd/net/Socket.hx

@@ -48,10 +48,8 @@ class Socket {
 
 	public function new() {
 		out = new SocketOutput();
-		#if hl 
-			#if (haxe_ver >= 4)
-			hl.uv.Loop.register();
-			#else
+		#if hl
+			#if (haxe_ver < 4)
 			throw "Not supported in Haxe 3.x";
 			#end
 		#end