Check that we never get events about switching to State_Idle

This state can never be returned to, once the state becomes active.
This commit is contained in:
Vadim Zeitlin
2021-01-16 15:02:06 +01:00
parent 3241c443c5
commit 204ae594a2

View File

@@ -82,6 +82,9 @@ public:
break; break;
case wxWebRequest::State_Idle: case wxWebRequest::State_Idle:
FAIL("should never get events with State_Idle");
break;
case wxWebRequest::State_Active: case wxWebRequest::State_Active:
break; break;
} }