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

Kirill Yukhin kyukhin at tarantool.org
Tue Dec 10 17:03:11 MSK 2019


Hello,

On 26 ноя 18:15, Serge Petrenko wrote:
> The tarantool_free() call in the end of main() works all the time except
> when we exit due to a panic. We need to clear terminal state in this
> case also, so return to using atexit() to clear readline state.
> 
> Closes #4466
> ---
> https://github.com/tarantool/tarantool/issues/4466
> https://github.com/tarantool/tarantool/tree/sp/gh-4466-clear-rl-state
> 
>  src/main.cc | 34 ++++++++++++++++++++++++----------
>  1 file changed, 24 insertions(+), 10 deletions(-)

I've checked your patch into master.

--
Regards, Kirill Yukhin


More information about the Tarantool-patches mailing list