{ deps
-, [ {hope, ".*", {git, "https://github.com/ibnfirnas/hope.git", {tag, "3.8.1"}}}
+, [ {hope, ".*", {git, "https://github.com/ibnfirnas/hope.git", {tag, "4.0.0"}}}
, {meck, ".*", {git, "https://github.com/eproxus/meck.git" , {tag, "0.8.3"}}}
]
}.
{application, beam_stats,
[
{description, "Periodic VM stats production and consumption."},
- {vsn, "1.0.0"},
+ {vsn, "1.0.1"},
{registered, []},
{applications,
[ kernel
-spec terminate(state()) ->
{}.
terminate(#state{file=FileOpt}) ->
- ok = hope_option:iter(FileOpt, fun file:close/1),
- {}.
+ hope_option:iter(FileOpt, fun file:close/1).
%% ============================================================================
-spec terminate(state()) ->
{}.
terminate(#state{sock=SockOpt}) ->
- ok = hope_option:iter(SockOpt, fun gen_tcp:close/1),
- {}.
+ hope_option:iter(SockOpt, fun gen_tcp:close/1).
%% ============================================================================
-spec terminate(state()) ->
{}.
terminate(#state{sock=SockOpt}) ->
- ok = hope_option:iter(SockOpt, fun gen_udp:close/1),
- {}.
+ hope_option:iter(SockOpt, fun gen_udp:close/1).
%% ============================================================================
%% Transport