Parcourir la source

Fix bug: xref should be stopped after being run

Xref not being stopped caused a crash in subsequent xref runs.
pull/3/head
Jordi Chacon il y a 14 ans
committed by Tuncer Ayaz
Parent
révision
e684af36f0
1 fichiers modifiés avec 3 ajouts et 0 suppressions
  1. +3
    -0
      src/rebar_xref.erl

+ 3
- 0
src/rebar_xref.erl Voir le fichier

@ -79,6 +79,9 @@ xref(Config, _) ->
%% Restore the original code path
true = code:set_path(OrigPath),
%% Stop xref
stopped = xref:stop(xref),
ok.
%% ===================================================================

Chargement…
Annuler
Enregistrer