]> git.sur5r.net Git - freertos/commitdiff
Delete the BasicSocketCommandServer task if the task exits, which can happen if the...
authorrichardbarry <richardbarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>
Mon, 12 Sep 2011 21:15:09 +0000 (21:15 +0000)
committerrichardbarry <richardbarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>
Mon, 12 Sep 2011 21:15:09 +0000 (21:15 +0000)
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@1596 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

Demo/WIN32-MSVC-lwIP/lwIP_Apps/apps/BasicSocketCommandServer/BasicSocketCommandServer.c

index 6fd3cc114fd89684f2a3c2c10a8be8bd015415d4..2a85735b9a31b509ee4c527c66b9bae0d3e0b866 100644 (file)
@@ -189,5 +189,8 @@ portBASE_TYPE xReturned;
                        }\r
                } \r
        }\r
+\r
+       /* Will only get here if a listening socket could not be created. */\r
+       vTaskDelete( NULL );\r
 }\r
 \r