Subject: Re: bug#46256: [feature/native-comp] AOT eln files ignored if run from build tree

From: Eli Zaretskii <[email-masked]>
Date: Sat, 06 Mar 2021 15:10:32 +0200

> From: Andy Moreton <[email-masked]>
> Date: Sat, 06 Mar 2021 12:15:27 +0000
> 
> > IIUC, we don't actually call dlclose() until we GC (and might not do
> > so even then, since GC is conservative).
> 
> In that case keeping the handles open is the real bug here, and it would
> be better to focus on how to ensure that resources are released corectly.
> 
> Is there a similar issue in the dynamic modules interface ?

Which problem is that?  At least on MS-Windows, a DLL remains open for
as long as the program that loaded it keeps running.  How is the
situation discussed here different?