* mu-guile.c: use g_atexit rather than atexit for portability
This commit is contained in:
@ -53,8 +53,7 @@ SCM_DEFINE_PUBLIC (init_mu, "mu:init", 0, 1, 0,
|
|||||||
initialized = TRUE;
|
initialized = TRUE;
|
||||||
|
|
||||||
/* cleanup when we're exiting */
|
/* cleanup when we're exiting */
|
||||||
if (atexit (mu_runtime_uninit) != 0)
|
g_atexit (mu_runtime_uninit);
|
||||||
g_warning ("failed to register mu_runtime_uninit with atexit");
|
|
||||||
|
|
||||||
return SCM_UNSPECIFIED;
|
return SCM_UNSPECIFIED;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user