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
This commit is contained in:
@@ -1149,6 +1149,8 @@ bool wxDialUpManagerMSW::EnableAutoCheckOnlineStatus(size_t nSeconds)
|
|||||||
wxLogLastError(wxT("CreateThread(RasStatusThread)"));
|
wxLogLastError(wxT("CreateThread(RasStatusThread)"));
|
||||||
|
|
||||||
CleanUpThreadData();
|
CleanUpThreadData();
|
||||||
|
|
||||||
|
ok = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user