From 7e9f895b1c65a71e068736b7df98bd59d3d6a962 Mon Sep 17 00:00:00 2001 From: Steve Kim Date: Mon, 17 Jun 2024 14:46:49 -0700 Subject: [PATCH] remove unecessary aws_raise_error() --- source/secure_tunneling.c | 1 - 1 file changed, 1 deletion(-) diff --git a/source/secure_tunneling.c b/source/secure_tunneling.c index e0b1c51..796b7c8 100644 --- a/source/secure_tunneling.c +++ b/source/secure_tunneling.c @@ -1146,7 +1146,6 @@ static void s_on_websocket_setup(const struct aws_websocket_on_connection_setup_ AWS_FATAL_ASSERT(aws_event_loop_thread_is_callers_thread(secure_tunnel->loop)); if (secure_tunnel->desired_state != AWS_STS_CONNECTED) { - aws_raise_error(AWS_ERROR_IOTDEVICE_SECURE_TUNNELING_USER_REQUESTED_STOP); s_on_websocket_shutdown( secure_tunnel->websocket, AWS_ERROR_IOTDEVICE_SECURE_TUNNELING_USER_REQUESTED_STOP, secure_tunnel); return;