[Tarantool-patches] [PATCH] clear terminal state on panic
Konstantin Osipov
kostja.osipov at gmail.com
Fri Nov 29 17:53:10 MSK 2019
* Cyrill Gorcunov <gorcunov at gmail.com> [19/11/29 16:31]:
> > +void
> > +tarantool_atexit(void)
> > +{
> > + /* Same checks as in tarantool_free() */
> > + if (getpid() != master_pid)
> > + return;
> > +
> > + if (!cord_is_main())
> > + return;
> > +
> > + free_rl_state();
> > +}
>
> As to me this is a way cleaner. Ack from my side.
> Lets wait for Kostya's opinion.
I'm happy with it, since it has a comment :)
--
Konstantin Osipov, Moscow, Russia
More information about the Tarantool-patches
mailing list