On Sun, 08 Aug 2021 19:18:51 +0200
Bruno Haible wrote:
> > This is noticeable in Claws because we load/unload Enchant when we
> > open/close a message compose window.
>
> Thanks for explaining the use-case. I could not imagine why it would
> be useful to care about DLL_PROCESS_DETACH, i.e. why
memory in
DLL_PROCESS_DETACH. It also initializes shared_library_fullname to NULL
so that it doesn't try to free an uninitialized pointer in the
unexpected situation of something failing in DLL_PROCESS_ATTACH.
From 9175cefe7ab2da7ff215982f43d5de353c3be7a7 Mon Sep 17 00:00:00 2001
From: Jonathan B