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

Cyrill Gorcunov gorcunov at gmail.com
Fri Nov 29 14:15:44 MSK 2019


On Fri, Nov 29, 2019 at 02:06:56PM +0300, Serge Petrenko wrote:
> Hi! Thanks for your replies!
>

I meant different, something like

void
tarantool_atexit(void)
{
	/*
	 * Terminal settings might be screwed
	 * when exit on panic, restore the
	 * normal one.
	 */
	free_rl_state(void);
}

...
	at_exit(tarantool_atexit);

This will allow us to extend tarantool_atexit()
with other cleanup routines if we need to.
Sounds reasonable?


More information about the Tarantool-patches mailing list