Nicolas Cannasse 19 years ago
parent
commit
d911de7d87
1 changed files with 1 additions and 1 deletions
  1. 1 1
      std/neko/net/ThreadRemotingServer.hx

+ 1 - 1
std/neko/net/ThreadRemotingServer.hx

@@ -86,7 +86,7 @@ class ThreadRemotingServer extends ThreadServer<haxe.remoting.SocketConnection,S
 		if( r != null ) {
 		if( r != null ) {
 			if( !Std.is(r.exc,neko.io.Eof) && !Std.is(r.exc,neko.io.Error) )
 			if( !Std.is(r.exc,neko.io.Eof) && !Std.is(r.exc,neko.io.Error) )
 				logError(r.exc);
 				logError(r.exc);
-			stopClient(cnx.getSocket());
+			stopClient(haxe.remoting.SocketConnection.getSocket(cnx));
 		}
 		}
 	}
 	}