mirror of
https://github.com/mudita/MuditaOS.git
synced 2026-02-18 23:19:59 -05:00
Added atexit functionality. All global destructors and functions registered with atexit() should be called at program exit. It was possbile to reuse original newlib implementation with MALLOC_PROVIDED flag set. Made sure logger destructructor is called as last one. Due to mudita OS legacy, it was not possible to simply fix dependencies in global objectes and hence there are neither global objects destructors nor functions registered with atexit() called when exit() is called. Possibly it will be changed later.
28 KiB
28 KiB