anchor.diff:      terminate_msg_ref = Ref
   } = State) ->
       {stop, normal, State};
  -handle_info({Ref, terminate}, #state{terminate_msg_ref = Ref} = State) ->
  -    {noreply, schedule_terminate(State)};
  +handle_info({_Ref, terminate}, #state{} = State) ->
  +    {noreply, State};
   handle_info(Info, #state{} = State) ->
       ?log_bad_request(Info),
       {noreply, State}.
  
positive.code: %%--------------------------------------------------------------------
  %% @private
  %% @doc
  %% Schedules terminate operation.
  %% @end
  %%--------------------------------------------------------------------
  -spec schedule_terminate(state()) -> state().
  schedule_terminate(#state{idle_timeout = IdleTimeout} = State) ->
      State#state{terminate_msg_ref = schedule_msg(IdleTimeout, terminate)}.
  
  %%--------------------------------------------------------------------
  %% @private
  
negative.code: %%--------------------------------------------------------------------
  -spec handle_committed(Exit :: any(), state()) -> state().
  handle_committed({committed, true, _}, #state{commit_delay = Delay} = State) ->
      schedule_terminate(schedule_commit(Delay, State#state{
          commit_handler_pid = undefined
      }));
  handle_committed({committed, {false, Changes}, Delay}, #state{
      module = Module,
      changes = Changes2
  