projects
/
platform
/
core
/
dotnet
/
launcher.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a504b6d
)
Disable diagnostics on dotnettool
author
Woongsuk
<ws77.cho@samsung.com>
Thu, 27 Mar 2025 04:04:38 +0000
(13:04 +0900)
committer
조웅석/MDE Lab(SR)/삼성전자
<ws77.cho@samsung.com>
Thu, 27 Mar 2025 09:40:55 +0000
(18:40 +0900)
When crossgen is forcibly terminated due to an external factor,
a file related to diagnostics is left under /tmp directory.
Since the related file is not needed during crossgen, the feature is disabled.
NativeLauncher/tool/ni_common.cc
patch
|
blob
|
history
diff --git
a/NativeLauncher/tool/ni_common.cc
b/NativeLauncher/tool/ni_common.cc
index 2a78afcac389a86db8f87c0fdf490bda51cff2a1..8ba02d27a82ac3648b59f35320532d5f4a2be65b 100644
(file)
--- a/
NativeLauncher/tool/ni_common.cc
+++ b/
NativeLauncher/tool/ni_common.cc
@@
-921,6
+921,9
@@
ni_error_e initNICommon()
inFile >> __interval;
}
+ // disable diagnostics when running crossgen
+ putenv(const_cast<char *>("COMPlus_EnableDiagnostics=0"));
+
if (initializePluginManager("normal")) {
_SERR("Fail to initialize PluginManager");
return NI_ERROR_UNKNOWN;