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 /platform/uwp | |
parent | 9b31d2da1c20807928ac2aea41a187184f9ee051 (diff) |
Properly initialize Winsock on startup
Also fix typo in _get_last_error which caused Winsock connect to fail.
Diffstat (limited to 'platform/uwp')
-rw-r--r-- | platform/uwp/os_uwp.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/platform/uwp/os_uwp.cpp b/platform/uwp/os_uwp.cpp index 5b5f30244e..f489c0894f 100644 --- a/platform/uwp/os_uwp.cpp +++ b/platform/uwp/os_uwp.cpp @@ -406,6 +406,8 @@ void OSUWP::finalize() { } void OSUWP::finalize_core() { + + NetSocketPosix::cleanup(); } void OSUWP::alert(const String &p_alert, const String &p_title) { |