To ensure this is not run during a threaded call I added a log command here and ran PerforceGraphicalDiffWithDepotCommand. Nothing was output to the console :)