JsonHttpClient: Close socket even when connection fails (issue #445)

This commit is contained in:
Chris685 authored and Benoît Blanchon committed 2017-02-11 14:01:14 +01:00
1 parent db9a76f7c6
commit 7bcdf3e722
1 file changed
+1 -1
+1 -1
View File
@@ -41,8 +41,8 @@ void loop() {
printUserData(&userData); printUserData(&userData);
} }
} }
disconnect();
} }
disconnect();
wait(); wait();
} }