Browse 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 14 years ago
committed by Tuncer Ayaz
parent
commit
e684af36f0
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      src/rebar_xref.erl

+ 3
- 0
src/rebar_xref.erl View File

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

Loading…
Cancel
Save