Disable registration of __libc_fini_array in the init process.

With this call, destructors are not registered for execution atexit.
pull/2745/head
Vincent Coubard 2016-09-19 13:54:50 +01:00
parent b67d863c0a
commit ce23ec3120
1 changed files with 0 additions and 1 deletions

View File

@ -798,7 +798,6 @@ void pre_main(void) {
singleton_mutex_id = osMutexCreate(osMutex(singleton_mutex));
malloc_mutex_id = osMutexCreate(osMutex(malloc_mutex));
env_mutex_id = osMutexCreate(osMutex(env_mutex));
atexit(__libc_fini_array);
__libc_init_array();
main(0, NULL);
}