Skip to content

src: avoid duplicate Before/AtExitCallback structs

Rodrigo Muino Tomonari requested to merge github/fork/danbev/exit_callback into master

Currently, BeforeExitCallback and AtExitCallback are identical apart for the name of the struct. This commit introduces an ExitCallback struct with can be used in both cases to avoid the duplication.

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • commit message follows commit guidelines

Merge request reports

Loading