Fix TIS/TSM in logs
Silences the "is calling TIS/TSM in non-main thread environment" messages in the log when running a MacOS server as it is a red herring that causes a lot of issues to be filed.
This commit is contained in:
parent
675a17d6e8
commit
30c77497df
|
@ -38,6 +38,13 @@ main(int argc, char** argv)
|
||||||
// record window instance for tray icon, etc
|
// record window instance for tray icon, etc
|
||||||
ArchMiscWindows::setInstanceWin32(GetModuleHandle(NULL));
|
ArchMiscWindows::setInstanceWin32(GetModuleHandle(NULL));
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef __APPLE__
|
||||||
|
/* Silence "is calling TIS/TSM in non-main thread environment" as it is a red
|
||||||
|
herring that causes a lot of issues to be filed for the MacOS client/server.
|
||||||
|
*/
|
||||||
|
setenv("OS_ACTIVITY_DT_MODE", "NO", true);
|
||||||
|
#endif
|
||||||
|
|
||||||
Arch arch;
|
Arch arch;
|
||||||
arch.init();
|
arch.init();
|
||||||
|
|
Loading…
Reference in New Issue