Add check to prevent attaching a profiler when one is already present (#25520)
[platform/upstream/coreclr.git] / src / vm / profilerdiagnosticprotocolhelper.cpp
index 3f96912..e269504 100644 (file)
@@ -102,7 +102,7 @@ void ProfilerDiagnosticProtocolHelper::AttachProfiler(DiagnosticsIpc::IpcMessage
         hr = CORPROF_E_RUNTIME_UNINITIALIZED;
         goto ErrExit;
     }
-    
+
     // Certain actions are only allowable during attach, and this flag is how we track it.
     ClrFlsSetThreadType(ThreadType_ProfAPI_Attach);