Sfoglia il codice sorgente

ft: 优化

master
SisMaker 2 anni fa
parent
commit
5b0816b380
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. +1
    -1
      src/gTimer.erl

+ 1
- 1
src/gTimer.erl Vedi File

@ -54,7 +54,7 @@ getTimer(TimerRef) ->
-spec asyncDelTimer(TimerRef :: reference()) -> false | non_neg_integer().
asyncDelTimer(TimerRef) ->
erlang:cancel_timer(TimerRef, [{async, true} | {info, false}]).
erlang:cancel_timer(TimerRef, [{async, true}, {info, false}]).
-spec syncDelTimer(TimerRef :: reference()) -> false | non_neg_integer().
syncDelTimer(TimerRef) ->

Caricamento…
Annulla
Salva