diff options
author | Jordi Chacon <jordi.chacon@klarna.com> | 2011-03-26 12:14:52 +0100 |
---|---|---|
committer | Tuncer Ayaz <tuncer.ayaz@gmail.com> | 2011-03-26 12:25:25 +0100 |
commit | e684af36f0153657ebcf47da4827f9a4f8b61dc3 (patch) | |
tree | 793ff0cfbe22126d9dcdaa5e6652304d20ed0d55 /src | |
parent | 2ee4899d24e300dc9af103d6a43edf997fb010ab (diff) |
Fix bug: xref should be stopped after being run
Xref not being stopped caused a crash in subsequent xref runs.
Diffstat (limited to 'src')
-rw-r--r-- | src/rebar_xref.erl | 3 |
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. %% =================================================================== |