We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 846601a commit 43b57ecCopy full SHA for 43b57ec
libs/rs/rsContext.cpp
@@ -319,8 +319,12 @@ void Context::destroyWorkerThreadResources() {
319
320
void Context::printWatchdogInfo(void *ctx) {
321
Context *rsc = (Context *)ctx;
322
- LOGE("RS watchdog timeout: %i %s line %i %s", rsc->watchdog.inRoot,
323
- rsc->watchdog.command, rsc->watchdog.line, rsc->watchdog.file);
+ if (rsc->watchdog.command && rsc->watchdog.file) {
+ LOGE("RS watchdog timeout: %i %s line %i %s", rsc->watchdog.inRoot,
324
+ rsc->watchdog.command, rsc->watchdog.line, rsc->watchdog.file);
325
+ } else {
326
+ LOGE("RS watchdog timeout: %i", rsc->watchdog.inRoot);
327
+ }
328
}
329
330
0 commit comments