Merge pull request #653 from simons-public/tis-tsm-fix

Fix TIS/TSM in logs
This commit is contained in:
Dom Rodriguez 2020-05-12 18:54:57 +01:00 committed by GitHub
commit 5d82510ee8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 0 deletions

View File

@ -39,6 +39,13 @@ main(int argc, char** argv)
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();