浏览代码

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 年前
提交者 Tuncer Ayaz
父节点
当前提交
e684af36f0
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. +3
    -0
      src/rebar_xref.erl

+ 3
- 0
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.
%% ===================================================================

正在加载...
取消
保存