bstouls 8 years ago
parent
commit
79f6fa1737
1 changed files with 2 additions and 0 deletions
  1. 2 0
      hxd/net/Socket.hx

+ 2 - 0
hxd/net/Socket.hx

@@ -48,7 +48,9 @@ class Socket {
 
 	public function new() {
 		out = new SocketOutput();
+		#if hl
 		hl.uv.Loop.register();
+		#end
 	}
 
 	public function set_timeout(t:Null<Float>) {