As raised in https://github.com/erlware/relx/issues/851 running releases concurrently (discovered by running rebar3 release --all) results in crashes within maybe_check_for_undefined_functions_/2 as it assumes the xref server is not already running.
This pull request has a separate xref server for each release name thereby allowing multiple releases to execute concurrently without crashing.
As raised in https://github.com/erlware/relx/issues/851 running releases concurrently (discovered by running
rebar3 release --all
) results in crashes withinmaybe_check_for_undefined_functions_/2
as it assumes the xref server is not already running. This pull request has a separate xref server for each release name thereby allowing multiple releases to execute concurrently without crashing.