Skip to content

Commit f512457

Browse files
committed
silence 'TIS/TSM in non-main thread' error
1 parent 38b9f3f commit f512457

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

app/src/processing/app/ui/EditorConsole.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -228,6 +228,11 @@ public void message(String what, boolean err) {
228228
// Java on Mac OS X, but is widely reported as the source of any other
229229
// bug or problem that a user runs into. It may well be a Processing
230230
// bug, but until we know, we're suppressing the messages.
231+
} else if (err && what.contains("is calling TIS/TSM in non-main thread environment")) {
232+
// Error message caused by JOGL since macOS 10.13.4, cannot fix at the moment so silencing it:
233+
// https://github.com/processing/processing/issues/5462
234+
// Some discussion on the Apple's developer forums seems to suggest that is not serious:
235+
// https://forums.developer.apple.com/thread/105244
231236
} else if (err && what.contains("Make pbuffer:")) {
232237
// Remove initalization warning from LWJGL.
233238
} else if (err && what.contains("XInitThreads() called for concurrent")) {

0 commit comments

Comments
 (0)