From 3637808c39d2205ec5871e319f681ff2d58fa34f Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Mon, 20 Jan 2014 14:45:29 +0000 Subject: [PATCH] Correct wrong error handler in wxDialUpManagerMSW code. Forgot to set the success flag to false if thread creation failed. See #15893. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@75660 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/msw/dialup.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/msw/dialup.cpp b/src/msw/dialup.cpp index 11dd018294..67a81c230e 100644 --- a/src/msw/dialup.cpp +++ b/src/msw/dialup.cpp @@ -1149,6 +1149,8 @@ bool wxDialUpManagerMSW::EnableAutoCheckOnlineStatus(size_t nSeconds) wxLogLastError(wxT("CreateThread(RasStatusThread)")); CleanUpThreadData(); + + ok = false; } }