Call atexit() directly on Win32, not g_atexit(). As g_atexit() is
authorTor Lillqvist <tml@novell.com>
Sat, 13 Aug 2005 02:14:15 +0000 (02:14 +0000)
committerTor Lillqvist <tml@src.gnome.org>
Sat, 13 Aug 2005 02:14:15 +0000 (02:14 +0000)
commit2f7d0685b7260e5465b9051111c4ba781f5efca9
tree9c489dbf9d108d68bf83afe168a3ae29fb63216c
parentaf5786531cf2593a5e75b2fd5f979273faeaa6cc
Call atexit() directly on Win32, not g_atexit(). As g_atexit() is

2005-08-13  Tor Lillqvist  <tml@novell.com>

* camel.c (camel_init): Call atexit() directly on Win32, not
g_atexit(). As g_atexit() is currently implemented, the registered
function gets called when the GLib DLL is detached, not when the
process exits. This causes problems. Calling atexit() in the camel
DLL at least means the function gets called when the camel DLL is
detached, which works OK.
camel/ChangeLog
camel/camel.c