Skip to content

Commit

Permalink
fix: avoid segfault at static dtors
Browse files Browse the repository at this point in the history
  • Loading branch information
ThisALV committed Dec 12, 2023
1 parent fda4e6b commit b4a0bdf
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions nx/source/runtime/init.c
Original file line number Diff line number Diff line change
Expand Up @@ -189,10 +189,6 @@ void __attribute__((weak)) __libnx_init(void* ctx, Handle main_thread, void* sav

void __attribute__((weak)) NX_NORETURN __libnx_exit(int rc)
{
// Call destructors.
void __libc_fini_array(void);
__libc_fini_array();

// Clean up services.
__appExit();

Expand Down

0 comments on commit b4a0bdf

Please sign in to comment.