Merge remote-tracking branch 'OFW/gsurkov/3764_expansion_control' into dev

This commit is contained in:
MX
2024-02-10 17:06:25 +03:00
12 changed files with 788 additions and 413 deletions

View File

@@ -189,6 +189,12 @@ bool rpc_pb_stream_read(pb_istream_t* istream, pb_byte_t* buf, size_t count) {
furi_assert(session);
furi_assert(istream->bytes_left);
/* TODO FL-3768 this function may be called after
marking the worker for termination */
if(session->terminate) {
return false;
}
uint32_t flags = 0;
size_t bytes_received = 0;