When cps.customValueDiscard is on, value can be discarded only for types T for which exists ValueDiscard[T]
T
ValueDiscard[T]
see chapter in User Guide
called when value is discarded.