From e684af36f0153657ebcf47da4827f9a4f8b61dc3 Mon Sep 17 00:00:00 2001 From: Jordi Chacon Date: Sat, 26 Mar 2011 12:14:52 +0100 Subject: Fix bug: xref should be stopped after being run Xref not being stopped caused a crash in subsequent xref runs. --- src/rebar_xref.erl | 3 +++ 1 file changed, 3 insertions(+) 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. %% =================================================================== -- cgit v1.1