Fix bug in 'unwatch()' function
This commit is contained in:
parent
1f6066705c
commit
02eaf1ee47
@ -1,6 +1,6 @@
|
|||||||
{application,gmhive_client,
|
{application,gmhive_client,
|
||||||
[{description,"Gajumaru Hive Client"},
|
[{description,"Gajumaru Hive Client"},
|
||||||
{vsn,"0.9.0"},
|
{vsn,"0.9.1"},
|
||||||
{registered,[]},
|
{registered,[]},
|
||||||
{applications,[kernel,stdlib,sasl,gproc,inets,ssl,enoise,
|
{applications,[kernel,stdlib,sasl,gproc,inets,ssl,enoise,
|
||||||
gmconfig,gmhive_protocol,gmhive_worker]},
|
gmconfig,gmhive_protocol,gmhive_worker]},
|
||||||
|
|||||||
@ -30,7 +30,7 @@ watch(Interval, N) ->
|
|||||||
gen_server:call(?MODULE, {watch, self(), Interval, N}).
|
gen_server:call(?MODULE, {watch, self(), Interval, N}).
|
||||||
|
|
||||||
unwatch() ->
|
unwatch() ->
|
||||||
gen_server:cast({unwatch, self()}).
|
gen_server:cast(?MODULE, {unwatch, self()}).
|
||||||
|
|
||||||
ping() ->
|
ping() ->
|
||||||
gen_server:cast(?MODULE, {ping, self()}).
|
gen_server:cast(?MODULE, {ping, self()}).
|
||||||
|
|||||||
@ -2,9 +2,9 @@
|
|||||||
{type,app}.
|
{type,app}.
|
||||||
{modules,[]}.
|
{modules,[]}.
|
||||||
{prefix,"gmhc"}.
|
{prefix,"gmhc"}.
|
||||||
{author,"Ulf Wiger, QPQ AG"}.
|
|
||||||
{desc,"Gajumaru Hive Client"}.
|
{desc,"Gajumaru Hive Client"}.
|
||||||
{package_id,{"uwiger","gmhive_client",{0,9,0}}}.
|
{author,"Ulf Wiger, QPQ AG"}.
|
||||||
|
{package_id,{"uwiger","gmhive_client",{0,9,1}}}.
|
||||||
{deps,[{"uwiger","gmhive_protocol",{0,2,0}},
|
{deps,[{"uwiger","gmhive_protocol",{0,2,0}},
|
||||||
{"uwiger","gmhive_worker",{0,5,1}},
|
{"uwiger","gmhive_worker",{0,5,1}},
|
||||||
{"uwiger","gmcuckoo",{1,2,4}},
|
{"uwiger","gmcuckoo",{1,2,4}},
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user