Bug 918339 - Only register at_exit callers for procs or lambdas