Ver código fonte

catch nif load error

pull/30/head
benoitc 12 anos atrás
pai
commit
852db2e568
1 arquivos alterados com 2 adições e 1 exclusões
  1. +2
    -1
      src/jiffy.erl

+ 2
- 1
src/jiffy.erl Ver arquivo

@ -93,7 +93,8 @@ init() ->
Path ->
Path
end,
erlang:load_nif(filename:join(PrivDir, "jiffy"), 0).
catch(erlang:load_nif(filename:join(PrivDir, "jiffy"), 0)),
ok.
not_loaded(Line) ->

Carregando…
Cancelar
Salvar