diff --git a/source/secure_tunneling.c b/source/secure_tunneling.c index 796b7c8..4162d2c 100644 --- a/source/secure_tunneling.c +++ b/source/secure_tunneling.c @@ -1215,7 +1215,6 @@ void s_secure_tunneling_websocket_transform_complete_task_fn( error_code = aws_last_error(); } } else { - AWS_ASSERT(secure_tunnel->desired_state != AWS_STS_CONNECTED); error_code = AWS_ERROR_IOTDEVICE_SECURE_TUNNELING_USER_REQUESTED_STOP; } }