discardContentIfPossible()
Called to discard the contents of the receiver if the value of the accessed counter is 0.
Declaration
func discardContentIfPossible()Discussion
This method should only discard the contents of the object if the value of the accessed counter is 0. Otherwise, it should do nothing.