14.07.2021 12:13, Vlad Khorsun wrote:
Why do you think it does ? Do you have a stack trace ?
Yes. Functions after global destructors are called from fb_shutdown().
Does your embedded app calls fb_shutdown() before exit() ?
My "embedded app" is isql so - yes, it calls fb_shutdown() from atexit().
Does your dll module conains code that detects "unxpected" unload (as UnloadDetectorHelper do) ?
No because my doClean() does nothing useful and I saw no point in cleanup.
Does your dll module run cleanup code in this case ?
Which exactly "cleanup code" do you have on mind?
Calling of unregisterModule() could prevent call of doClean(), but not
TraceFactory::getOwner()/release() which happen from PluginManager::releasePlugin().
--
WBR, SD.
Firebird-Devel mailing list, web interface at
https://lists.sourceforge.net/lists/listinfo/firebird-devel