* mu-guile.c: use g_atexit rather than atexit for portability

This commit is contained in:
djcb
2011-12-22 21:18:06 +02:00
parent 3a10b52cb1
commit c9d9db488e

View File

@ -53,8 +53,7 @@ SCM_DEFINE_PUBLIC (init_mu, "mu:init", 0, 1, 0,
initialized = TRUE;
/* cleanup when we're exiting */
if (atexit (mu_runtime_uninit) != 0)
g_warning ("failed to register mu_runtime_uninit with atexit");
g_atexit (mu_runtime_uninit);
return SCM_UNSPECIFIED;
}