소스 검색

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 년 전
committed by 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.
%% ===================================================================

불러오는 중...
취소
저장