remove signal

This commit is contained in:
ethan.du 2020-08-06 11:12:15 +08:00
parent 1484996819
commit f428d6c220
1 changed files with 0 additions and 3 deletions

View File

@ -185,9 +185,6 @@ static int _register_subscribe_topics(void *client)
static void mqtt_test_thread(void) {
int rc;
// to avoid process crash when writing to a broken socket
signal(SIGPIPE, SIG_IGN);
//init connection
MQTTInitParams init_params = DEFAULT_MQTT_INIT_PARAMS;
rc = _setup_connect_init_params(&init_params);