[COMMIT] Eliminate a crash when profiling.