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

@ -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();