diff options
author | tycho <work.tycho@gmail.com> | 2015-05-23 12:31:03 +0200 |
---|---|---|
committer | tycho <work.tycho@gmail.com> | 2015-05-23 12:31:03 +0200 |
commit | 1577a080ee4e2fb5baaee8c8c98149eb8418b6c6 (patch) | |
tree | f8d9453f07a7475562b68ccfbfa92ad817a206be /src/PolarSSL++ | |
parent | Fix tests (diff) | |
parent | Merge pull request #2108 from mc-server/tgh-boolean (diff) | |
download | cuberite-1577a080ee4e2fb5baaee8c8c98149eb8418b6c6.tar cuberite-1577a080ee4e2fb5baaee8c8c98149eb8418b6c6.tar.gz cuberite-1577a080ee4e2fb5baaee8c8c98149eb8418b6c6.tar.bz2 cuberite-1577a080ee4e2fb5baaee8c8c98149eb8418b6c6.tar.lz cuberite-1577a080ee4e2fb5baaee8c8c98149eb8418b6c6.tar.xz cuberite-1577a080ee4e2fb5baaee8c8c98149eb8418b6c6.tar.zst cuberite-1577a080ee4e2fb5baaee8c8c98149eb8418b6c6.zip |
Diffstat (limited to 'src/PolarSSL++')
-rw-r--r-- | src/PolarSSL++/BlockingSslClientSocket.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/PolarSSL++/BlockingSslClientSocket.h b/src/PolarSSL++/BlockingSslClientSocket.h index 319e82bf2..462ee95a7 100644 --- a/src/PolarSSL++/BlockingSslClientSocket.h +++ b/src/PolarSSL++/BlockingSslClientSocket.h @@ -21,6 +21,11 @@ class cBlockingSslClientSocket : { public: cBlockingSslClientSocket(void); + + ~cBlockingSslClientSocket(void) + { + Disconnect(); + } /** Connects to the specified server and performs SSL handshake. Returns true if successful, false on failure. Sets internal error text on failure. */ |