Skip to content

Commit 12096f8

Browse files
adding rxBuffer.clear() in stop()
1 parent dad8f23 commit 12096f8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: libraries/SocketWrapper/src/MbedClient.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -299,6 +299,7 @@ void arduino::MbedClient::stop() {
299299
mutex = nullptr;
300300
}
301301
_status = false;
302+
rxBuffer.clear();
302303
}
303304

304305
uint8_t arduino::MbedClient::connected() {

0 commit comments

Comments
 (0)