diff options
author | willchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-05-04 02:13:46 +0000 |
---|---|---|
committer | willchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-05-04 02:13:46 +0000 |
commit | cb54251f28bcf5eb249e19af85d01480f2dde1cf (patch) | |
tree | f66c557e66b1bb084617264b95a08a22bd2b793c /net/base/winsock_init.h | |
parent | 4035a150e22bf51631b09fc810002d859aea1565 (diff) | |
download | chromium_src-cb54251f28bcf5eb249e19af85d01480f2dde1cf.zip chromium_src-cb54251f28bcf5eb249e19af85d01480f2dde1cf.tar.gz chromium_src-cb54251f28bcf5eb249e19af85d01480f2dde1cf.tar.bz2 |
Delete WSACleanup() call in the network stack.
This should prevent us from crashing in getaddrinfo() in shutdown after Winsock has already been deleted, since we'll always hold onto a reference.
BUG=42117
Review URL: http://codereview.chromium.org/1888002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46319 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/base/winsock_init.h')
-rw-r--r-- | net/base/winsock_init.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/net/base/winsock_init.h b/net/base/winsock_init.h index ab34fb0..9608e95 100644 --- a/net/base/winsock_init.h +++ b/net/base/winsock_init.h @@ -3,9 +3,7 @@ // found in the LICENSE file. // Winsock initialization must happen before any Winsock calls are made. The -// EnsureWinsockInit method will make sure that WSAStartup has been called. If -// the call to WSAStartup caused Winsock to initialize, WSACleanup will be -// called automatically on program shutdown. +// EnsureWinsockInit method will make sure that WSAStartup has been called. #ifndef NET_BASE_WINSOCK_INIT_H_ #define NET_BASE_WINSOCK_INIT_H_ |