How to set func to null

Yes, thank you for your guidance.