From 01c3c1a07bfbaf6df8b1154e5ef31ecc890b03a3 Mon Sep 17 00:00:00 2001 From: Fabio Alessandrelli Date: Thu, 13 Sep 2018 15:47:00 +0200 Subject: Properly initialize Winsock on startup Also fix typo in _get_last_error which caused Winsock connect to fail. --- platform/uwp/os_uwp.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'platform/uwp') 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) { -- cgit v1.2.3