summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/wsock_event.h
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/cygwin/wsock_event.h')
-rw-r--r--winsup/cygwin/wsock_event.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/winsup/cygwin/wsock_event.h b/winsup/cygwin/wsock_event.h
index 9a1f07ac1..5383a797b 100644
--- a/winsup/cygwin/wsock_event.h
+++ b/winsup/cygwin/wsock_event.h
@@ -16,12 +16,6 @@ class wsock_event
WSAEVENT event;
public:
wsock_event () : event (NULL) {};
- ~wsock_event ()
- {
- if (event)
- WSACloseEvent (event);
- event = NULL;
- };
/* The methods are implemented in net.cc */
bool prepare (int sock, long event_mask);