summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/rebar_xref.erl3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/rebar_xref.erl b/src/rebar_xref.erl
index f46ccfc..e0f4547 100644
--- a/src/rebar_xref.erl
+++ b/src/rebar_xref.erl
@@ -79,6 +79,9 @@ xref(Config, _) ->
%% Restore the original code path
true = code:set_path(OrigPath),
+ %% Stop xref
+ stopped = xref:stop(xref),
+
ok.
%% ===================================================================