aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/cowboy_clock.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cowboy_clock.erl b/src/cowboy_clock.erl
index 9a8cea3..5d9a41a 100644
--- a/src/cowboy_clock.erl
+++ b/src/cowboy_clock.erl
@@ -73,7 +73,7 @@ init([]) ->
-spec handle_call
(stop, from(), State) -> {stop, normal, stopped, State}
when State::#state{}.
-handle_call(stop, _From, State=#state{tref=TRef}) ->
+handle_call(stop, _From, State) ->
{stop, normal, stopped, State};
handle_call(_Request, _From, State) ->
{reply, ignored, State}.