summaryrefslogtreecommitdiff
path: root/src/network/core/core.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/network/core/core.h')
-rw-r--r--src/network/core/core.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/network/core/core.h b/src/network/core/core.h
index 37948ad52..a16ed9f23 100644
--- a/src/network/core/core.h
+++ b/src/network/core/core.h
@@ -46,10 +46,7 @@ public:
NetworkSocketHandler() { this->has_quit = false; }
/** Close the socket when destructing the socket handler */
- virtual ~NetworkSocketHandler() { this->Close(); }
-
- /** Really close the socket */
- virtual void Close() {}
+ virtual ~NetworkSocketHandler() {}
/**
* Close the current connection; for TCP this will be mostly equivalent