On 22/01/2022 09:42, Dimitry Sibiryakov wrote: > Adriano dos Santos Fernandes wrote 22.01.2022 13:37: >> After calling IDispatch::shutdown() an attempt to call >> IAttachment::detach() >> in embedded mode returns error "Database shutdown". But... why? >> >> Isn't IDispatch::shutdown already causes all databases to be >> disconnected? > > In this case the second disconnect attempt should be successful no-op > + release(), no?.. >
If you do shutdown before disconnect, I'm not sure the software is written correctly. In this case if you do release I think it's going to work. Adriano Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel