Browse Source

Fix a compile error introduced in previous commit

Loïc Hoguin 10 years ago
parent
commit
4aabb67562
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/cowboy_clock.erl

+ 1 - 1
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}.