Just create a a class "VerifyingBlocks" and use RAII. Every return path will hit the destructor, so do the signal there.