anchor.diff:      erlang:unlink(FD),
       _ = try
               lists:foldl(fun(X, S) -> on({crashed, X}, S) end,
  -                        State, [RemPid || {RemPid, _} <- state_get_rem_pids(State)])
  +                        State, [ rempid_get_rempid(RemPidEntry)
  +                                 || RemPidEntry <- state_get_rem_pids(State)])
           catch _:_ -> ignore_exception
           end,
       kill.
  
positive.code:     Entry = pdb:get({Subscriber, WatchedPid}, Table),
      case Entry of
          undefined ->
              log:log(warn, "got unsubscribe for not registered subscription ~.0p, Subscriber ~p, Watching group and name ~p~n",
                      [{unsubscribe, Subscriber, WatchedPid, Cookie},
                       pid_groups:group_and_name_of(Subscriber),
                      pid_groups:group_and_name_of(comm:make_local(WatchedPid))]),
  
negative.code: state_set_crashed_after(State, Val) -> setelement(4, State, Val).
  -spec state_get_table(state()) -> atom().
  state_get_table(State)              -> element(5, State).
  -spec state_get_monitors(state())   -> [{comm:mypid(), reference()}].
  state_get_monitors(State)           -> element(6, State).
  -spec state_set_monitors(state(), [{comm:mypid(), reference()}]) -> state().
  state_set_monitors(State, Val)      -> setelement(6, State, Val).
  