Skip to content

Commit

Permalink
fix: avoid segfault at static dtors (#638)
Browse files Browse the repository at this point in the history
  • Loading branch information
ThisALV committed Dec 17, 2023
1 parent fda4e6b commit 7d68ad6
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 7d68ad6

Please sign in to comment.