Skip to content
Snippets Groups Projects
  1. Sep 05, 2022
    • Ilya Verbin's avatar
      main: run an event loop for on_shutdown triggers · cdd5674c
      Ilya Verbin authored
      When Tarantool is stopped by Ctrl+D or by reaching the end of the
      script, run_script_f() breaks the event loop, then tarantool_exit()
      is called from main(), however the fibers that execute on_shutdown
      triggers can not be longer scheduled, because the event loop is
      already stopped. Fix this by starting an auxiliary event loop for
      such cases.
      
      Closes #7434
      
      NO_DOC=bugfix
      cdd5674c
Loading