mirror of
https://github.com/Laxilef/OTGateway.git
synced 2026-11-02 19:58:44 +05:00
Heap fragmentation optimization
Moving object creation to task constructors
This commit is contained in:
1 parent
214e840ec2
commit
7149f52d62
10 files changed
+244
-137
No files matched your search
@@ -96,7 +96,6 @@ public:
|
||||
size_t written = 0;
|
||||
if (this->client->beginPublish(topic, docSize, retained)) {
|
||||
serializeJson(doc, *this);
|
||||
doc.clear();
|
||||
this->flush();
|
||||
|
||||
written = this->writeAfterLock;
|
||||
|
||||
Reference in new issue
Block a user