mirror of
https://github.com/switchbrew/libnx.git
synced 2025-06-21 04:22:50 +02:00
fix: avoid segfault at static dtors (#638)
This commit is contained in:
parent
fda4e6b105
commit
7d68ad6bd4
@ -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();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user