From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp48.i.mail.ru (smtp48.i.mail.ru [94.100.177.108]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dev.tarantool.org (Postfix) with ESMTPS id D529446971A for ; Tue, 10 Dec 2019 17:03:12 +0300 (MSK) Date: Tue, 10 Dec 2019 17:03:11 +0300 From: Kirill Yukhin Message-ID: <20191210140311.p3cipmfkx44bebyn@tarantool.org> References: <20191126151557.25754-1-sergepetrenko@tarantool.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20191126151557.25754-1-sergepetrenko@tarantool.org> Subject: Re: [Tarantool-patches] [PATCH] clear terminal state on panic List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Serge Petrenko Cc: tarantool-patches@dev.tarantool.org 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