Skip to content

Commit 483a798

Browse files
committed
Merge pull request #2437 from sngl/ide-1.5.x-yunclient-update
Updated YunClient::connect method'
2 parents bedc550 + a4e958f commit 483a798

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libraries/Bridge/src/YunClient.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ int YunClient::connect(const char *host, uint16_t port) {
160160
if (connected())
161161
return 1;
162162

163-
opened = false;
163+
stop();
164164
handle = 0;
165165
return 0;
166166
}

0 commit comments

Comments
 (0)