Merge branch 'webrequest-keep-alive'
Ensure that wxWebRequest objects stay alive as long as the request is in progress. See https://github.com/wxWidgets/wxWidgets/pull/2292
This commit is contained in:
@@ -106,6 +106,13 @@ public:
|
||||
|
||||
wxEvtHandler* GetHandler() const { return m_handler; }
|
||||
|
||||
// Called to notify about the state change in the main thread by SetState()
|
||||
// (which can itself be called from a different one).
|
||||
//
|
||||
// It also releases a reference added when switching to the active state by
|
||||
// SetState() when leaving it.
|
||||
//
|
||||
// TODO-C++11: make private when we don't need StateEventProcessor any more.
|
||||
void ProcessStateEvent(wxWebRequest::State state, const wxString& failMsg);
|
||||
|
||||
protected:
|
||||
|
Reference in New Issue
Block a user