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:
Jordi Chacon 2011-03-26 12:14:52 +01:00 committed by Tuncer Ayaz
parent 2ee4899d24
commit e684af36f0

View file

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