On 9/17/21 12:44 PM, Dimitry Sibiryakov wrote:
Alex Peshkoff via Firebird-devel wrote 17.09.2021 9:08:
Is it about a library dynamically (dlopen, LoadLibrary) loaded or
linked to the exacutable?
Both. The library tree is the same (at least on Linux).
Tree is the same - but cleanup order (at least on linux) differs.
First of all dynamically loaded libraries are unloaded in reverse order,
next invoken executable dtors/atexits, and only after it - dtors of
linked libraries.
Check yourself if in doubt.
Firebird-Devel mailing list, web interface at
https://lists.sourceforge.net/lists/listinfo/firebird-devel