onDestroyLayer

var onDestroyLayer: (T) -> Unit?