mirror of
https://github.com/correl/rebar.git
synced 2024-12-18 03:00:17 +00:00
Fix bug: xref should be stopped after being run
Xref not being stopped caused a crash in subsequent xref runs.
This commit is contained in:
parent
2ee4899d24
commit
e684af36f0
1 changed files with 3 additions and 0 deletions
|
@ -79,6 +79,9 @@ xref(Config, _) ->
|
|||
%% Restore the original code path
|
||||
true = code:set_path(OrigPath),
|
||||
|
||||
%% Stop xref
|
||||
stopped = xref:stop(xref),
|
||||
|
||||
ok.
|
||||
|
||||
%% ===================================================================
|
||||
|
|
Loading…
Reference in a new issue