Permalink
Browse files

Fix shutdown crashes on windows.

  • Loading branch information...
1 parent 6949582 commit 4941e44c76b98ffa1d08c0b2ba70aa48ba23d6df @Tak Tak committed Dec 15, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 mono/mini/debugger-agent.c
@@ -1230,7 +1230,7 @@ stop_debugger_thread ()
#ifdef HOST_WIN32
shutdown (conn_fd, SD_RECEIVE);
shutdown (listen_fd, SD_BOTH);
- close (listen_fd);
+ closesocket (listen_fd);
#else
shutdown (conn_fd, SHUT_RD);
shutdown (listen_fd, SHUT_RDWR);

0 comments on commit 4941e44

Please sign in to comment.