Skip to content

Truly independent web browser

LibCore: Stop shutting down sockets when they are closed on Windows

Zaggy102445d5f96a6616
diff --git a/Libraries/LibCore/SocketWindows.cpp b/Libraries/LibCore/SocketWindows.cpp
index aac26ea09ce..8fca1820444 100644
--- a/Libraries/LibCore/SocketWindows.cpp
+++ b/Libraries/LibCore/SocketWindows.cpp
@@ -142,8 +142,6 @@ void PosixSocketHelper::close()
if (m_notifier)
m_notifier->set_enabled(false);
- // shutdown is required for another end to receive FD_CLOSE
- shutdown(m_fd, SD_BOTH);
closesocket(m_fd);
m_fd = -1;
}