Make tsd cleanup functions optional, remove noop cleanup functions.
11 files changed