Merge pull request #35 from ucloud/bugfix_rm_signal

remove signal
This commit is contained in:
ethanDu1 2020-08-06 11:12:59 +08:00 committed by GitHub
commit 14d95a0f48
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 3 deletions

View File

@ -184,9 +184,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;