diff options
| author | Fabio Alessandrelli <fabio.alessandrelli@gmail.com> | 2018-09-13 15:47:00 +0200 |
|---|---|---|
| committer | Fabio Alessandrelli <fabio.alessandrelli@gmail.com> | 2018-09-13 16:05:47 +0200 |
| commit | 01c3c1a07bfbaf6df8b1154e5ef31ecc890b03a3 (patch) | |
| tree | af355216c986b4db161278f822e9da264f53859c /drivers/unix/os_unix.cpp | |
| parent | 9b31d2da1c20807928ac2aea41a187184f9ee051 (diff) | |
| download | redot-engine-01c3c1a07bfbaf6df8b1154e5ef31ecc890b03a3.tar.gz | |
Properly initialize Winsock on startup
Also fix typo in _get_last_error which caused Winsock connect to fail.
Diffstat (limited to 'drivers/unix/os_unix.cpp')
| -rw-r--r-- | drivers/unix/os_unix.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/unix/os_unix.cpp b/drivers/unix/os_unix.cpp index 1225d00aad..9936c95cf9 100644 --- a/drivers/unix/os_unix.cpp +++ b/drivers/unix/os_unix.cpp @@ -139,6 +139,8 @@ void OS_Unix::initialize_core() { } void OS_Unix::finalize_core() { + + NetSocketPosix::cleanup(); } void OS_Unix::alert(const String &p_alert, const String &p_title) { |
