Skip to content
Snippets Groups Projects
Commit 1bc1fcda authored by Serge Petrenko's avatar Serge Petrenko Committed by Vladimir Davydov
Browse files

box: get rid of atexit() for calling cleanup routines

Move a call to tarantool_free() to the end of main().
We needn't call atexit() at all anymore, since we've implemented
on_shutdown triggers and patched os.exit() so that when exiting not
due to a fatal signal (when no cleanup routines are called anyway)
control always reaches a call to tarantool_free().
parent 6dc4c8d7
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment