Subject How safe is the restart of Firebird 3.0 Windows service/Nix daemon?

Sometimes I need to alter procedures on running Firebird 3.0 database and I need to disconnect all the users for doing that (there is 'procedure in use' control exception, there is no similar control for triggers). Sometimes I have no other option than to restart Firebird Windows service/Nix daemon and then run alter procedure script.

So - my question is - how safe is the usual restart of Windows service/Nix daemon? Can I rely that Firebird gracefully makes all the pending writes to the disk, releases all the necesary resources and (the most important part of my quetion) that the restart can not lead to the gds inconsistency check errors?