소스 검색

ssh: don't hang exiting sshd task

Sergey Alirzaev 5 년 전
부모
커밋
53da1c7b6c
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      modules/SSH_Server/server.c

+ 1 - 0
modules/SSH_Server/server.c

@@ -398,6 +398,7 @@ static void ssh_server(void *arg)
 #if defined(HAVE_ECC) && defined(FP_ECC) && defined(HAVE_THREAD_LS)
     wc_ecc_fp_free();  /* free per thread cache */
 #endif
+    vTaskDelete(NULL);
 }
 
 void ssh_server_init(void)