From: richardbarry Date: Mon, 12 Sep 2011 21:15:09 +0000 (+0000) Subject: Delete the BasicSocketCommandServer task if the task exits, which can happen if the... X-Git-Tag: V7.0.2~14 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=5fc579ad5ac069337de1c6a94c625a2a4281caf3;p=freertos Delete the BasicSocketCommandServer task if the task exits, which can happen if the listening socket cannot be created. git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@1596 1d2547de-c912-0410-9cb9-b8ca96c0e9e2 --- diff --git a/Demo/WIN32-MSVC-lwIP/lwIP_Apps/apps/BasicSocketCommandServer/BasicSocketCommandServer.c b/Demo/WIN32-MSVC-lwIP/lwIP_Apps/apps/BasicSocketCommandServer/BasicSocketCommandServer.c index 6fd3cc114..2a85735b9 100644 --- a/Demo/WIN32-MSVC-lwIP/lwIP_Apps/apps/BasicSocketCommandServer/BasicSocketCommandServer.c +++ b/Demo/WIN32-MSVC-lwIP/lwIP_Apps/apps/BasicSocketCommandServer/BasicSocketCommandServer.c @@ -189,5 +189,8 @@ portBASE_TYPE xReturned; } } } + + /* Will only get here if a listening socket could not be created. */ + vTaskDelete( NULL ); }