Memory leak fixes in api and nfc, location tag fix

Fixes multiple potential memory leaks in API and NFC. Also fixes an issue in the new locaiton tag feature that could lead to multiple parallel API requests. This could cause memory leak issues but also result in wrong weights being registered for a spool.
This commit is contained in:
Jan Philipp Ecker committed 2025-07-26 22:36:04 +02:00
1 parent d536181a73
commit faaffee391
4 files changed
+41 -11

No files matched your search

+2 -1
View File
@@ -19,7 +19,8 @@ void startWriteJsonToTag(const char* payload);
extern TaskHandle_t RfidReaderTask;
extern String nfcJsonData;
extern String spoolId;
extern String activeSpoolId;
extern String lastSpoolId;
extern volatile nfcReaderStateType nfcReaderState;
extern volatile bool pauseBambuMqttTask;