[Tarantool-patches] [PATCH] clear terminal state on panic

Cyrill Gorcunov gorcunov at gmail.com
Thu Nov 28 01:31:31 MSK 2019


On Thu, Nov 28, 2019 at 12:51:47AM +0300, Konstantin Osipov wrote:
> > 
> > Should not we rather provide some tarantool_atexit() helper
> > from where we would call other cleanup and etc routines?
> > We already have tarantool_atfork() hook. Not a big deal
> > but while the code in question is being modified anyway.
> 
> Why not, still the exit procedure is complicated because of
> on_shutdown triggers, so it's important that if there are changes
> to it, they are documented in the code, not in cs comments.

Yes, putting comment into the code why we're to restore the
terminal settings on panic is quite important.


More information about the Tarantool-patches mailing list