     {:reply, :maps.get(key, cache), state}
   end
 
+  def handle_call(:stop, _from, state) do
+    {:stop, :normal, :ok, state}
+  end
+
   def handle_cast({:write_cache, key, value}, %{cache: cache} = state) do
     {:noreply, %{state | cache: :maps.put(key, value, cache)}}
   end


  @doc false
  def stop(pid) do
    :gen_server.cast(pid, :stop)
  end

  @doc false


  def handle_cast({:add_alias, module, line, warn}, state) do
    {:noreply, %{state | directives: add_directive(state.directives, module, line, warn, :alias)}}
  end

  @doc false
