Rein Klazes <[EMAIL PROTECTED]> writes:

> This change breaks Agent's ability to connect reliably with the server
> (there appears some timing dependency, it still works in a small
> percentage of the times I try).

Does this fix it?

Index: scheduler/thread.c
===================================================================
RCS file: /home/wine/wine/scheduler/thread.c,v
retrieving revision 1.57
diff -u -r1.57 thread.c
--- scheduler/thread.c  2000/03/17 15:16:57     1.57
+++ scheduler/thread.c  2000/03/21 10:59:51
@@ -156,7 +156,6 @@
 
     if (teb->stack_sel) SELECTOR_FreeBlock( teb->stack_sel, 1 );
     SELECTOR_FreeBlock( teb->teb_sel, 1 );
-    close( teb->socket );
     if (teb->buffer) munmap( teb->buffer, teb->buffer_size );
     if (teb->debug_info) HeapFree( GetProcessHeap(), 0, teb->debug_info );
     VirtualFree( teb->stack_base, 0, MEM_RELEASE );

-- 
Alexandre Julliard
[EMAIL PROTECTED]

Reply via email to