Comments (2)
Hello, Thank you for pointing this out, for non static implementations other than the two provided event.deinit must be called. We are working internally on a pull request to address this.
from ota-for-aws-iot-embedded-sdk.
Hi,
To handle the race condition better, we don't reset the functions pointer when shutdown, including event queue, callback, etc.
So event.deinit is never called but there won't be any leakage because OTA will use same event queue at the next OTA_Init.
I'm going to close this issue. Any feedback is welcome.
Thanks.
from ota-for-aws-iot-embedded-sdk.
Related Issues (20)
- OTA in multiple device HOT 2
- random Block ID HOT 2
- [Enhancement] Unnecessary const char data. Bloated memory. HOT 1
- [Feature Request] Misleading default config for otaconfigMAX_THINGNAME_LEN HOT 2
- [BUG] Submodule tinycbor not synced with v0.5.4 tag. HOT 2
- [BUG] Issue with longer thing names HOT 7
- [BUG] Issues when trying to mock these functions using googlemock. HOT 2
- [BUG] OTA API and OTA_EventProcessingTask is not task/thread safe when it comes to accessing common state. HOT 20
- [BUG] Memory corruption if OTA_MAX_BLOCK_BITMAP_SIZE is too small for the file
- [BUG] Invalid topic used to publish request for outstanding OTA jobs HOT 1
- [BUG] OTA errors on startup if there are no outstanding OTA jobs HOT 4
- [Feature Request] Use hardware accelerators for base64 operations HOT 2
- MQTT OTA problem returning FAILED to OTA JOB after starting with new FW. HOT 8
- [BUG] An MQTT OTA request made by the library to AWS using CBOR encoding results in the Invalid response on the /rejected topic HOT 25
- Read outside of Json buffer HOT 4
- [BUG] OTA API and OTA_EventProcessingTask is not task/thread safe when it comes to accessing common state. Re-Opened. HOT 1
- [BUG] OTA Block size check wrong HOT 5
- [BUG] OTA_SetImageState() fails but still activates the image HOT 1
- [DOC] Clarify use of handleCustomJob Function HOT 2
- [DOC] What is the current state of this library? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ota-for-aws-iot-embedded-sdk.