Fix bug in 'unwatch()' function
This commit is contained in:
@@ -30,7 +30,7 @@ watch(Interval, N) ->
|
||||
gen_server:call(?MODULE, {watch, self(), Interval, N}).
|
||||
|
||||
unwatch() ->
|
||||
gen_server:cast({unwatch, self()}).
|
||||
gen_server:cast(?MODULE, {unwatch, self()}).
|
||||
|
||||
ping() ->
|
||||
gen_server:cast(?MODULE, {ping, self()}).
|
||||
|
||||
Reference in New Issue
Block a user