remove adapter from cache when deleting the message.