PIIODevice threaded read refactoring

This commit is contained in:
2022-10-23 16:02:09 +03:00
parent e5777dde6c
commit 9438ab4e53
9 changed files with 157 additions and 121 deletions

View File

@@ -25,8 +25,9 @@ PIString DispatcherClient::address() {
return eth->path();
}
void DispatcherClient::close() {
static_cast<PIThread*>(eth)->stop(false);
eth->stopThreadedRead();
eth->close();
}