fix: avoid segfault at static dtors (#638)

This commit is contained in:
ThisALV 2023-12-17 15:15:33 +01:00 committed by GitHub
parent fda4e6b105
commit 7d68ad6bd4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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();