On 24/01/2022 07:51, Dimitry Sibiryakov wrote: > Adriano dos Santos Fernandes wrote 24.01.2022 11:37: >> If Firebird had an Engine class with state inside that instance, things >> would certainly be easy. >> >> But we rely on many global/static state. >> >> It's not very simple to just reload engine after shutdown when the >> library was not unloaded. > > Shouldn't it to be enough if we don't unload/kill these global states > on shutdown? >
Except in trace (maybe), things are not killed. Some state variables are marked as shutdown. But this requires many tests to be reliable. For example, it's possible to relive engine for attachments but not services. It's two different states. Adriano Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel