Просмотр исходного кода

fix the crash when http2_request example send/recv fail

zhangyanjiao 7 лет назад
Родитель
Сommit
9063ce9dda

+ 1 - 0
examples/protocols/http2_request/main/http2_request_example_main.c

@@ -145,6 +145,7 @@ static void http2_task(void *args)
     }
 
     sh2lib_free(&hd);
+    vTaskDelete(NULL);
 }
 
 static esp_err_t event_handler(void *ctx, system_event_t *event)