Revert "[server,shadow] rdp_server_reactivate do not wait"

This reverts commit 34f44ce4a1.
This commit is contained in:
Armin Novak 2022-12-21 17:19:19 +01:00 committed by David Fort
parent 9a80afeb08
commit 0e25f99602

View File

@ -1592,8 +1592,11 @@ BOOL rdp_server_reactivate(rdpRdp* rdp)
return FALSE;
rdp_finalize_set_flag(rdp, FINALIZE_DEACTIVATE_REACTIVATE);
return rdp_server_transition_to_state(rdp,
CONNECTION_STATE_CAPABILITIES_EXCHANGE_DEMAND_ACTIVE);
if (!rdp_server_transition_to_state(rdp, CONNECTION_STATE_CAPABILITIES_EXCHANGE_DEMAND_ACTIVE))
return FALSE;
state_run_t rc = rdp_peer_handle_state_demand_active(client);
return state_run_success(rc);
}
static BOOL rdp_is_active_peer_state(CONNECTION_STATE state)