Skip to content
Snippets Groups Projects
Commit a1b380a9 authored by Henrik (Grubba) Grubbström's avatar Henrik (Grubba) Grubbström
Browse files

Exit: Reorder the cleanup code somewhat.

exit_mc() calls exit_interleave_mutex(), which in turn calls
{init,exit}_threads_disable(), both of which mess with the
Pike_compile_cond. As the Pike_compile_cond is destroyed by
cleanup_pike_compiler() (called by cleanup_program()), make
sure that exit_mc() is called prior to cleanup_program().

Fixes issues on exit on some architectures and build options.

Potential fix for [PIKE-78]/[LysLysKOM 22448381].
parent b72cea95
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment