diff options
author | Adrian Roos <roosa@google.com> | 2020-01-10 19:24:03 +0100 |
---|---|---|
committer | Adrian Roos <roosa@google.com> | 2020-01-16 19:13:13 +0000 |
commit | 1d75e9c921e91b0800998995c734cc2211d4fdb8 (patch) | |
tree | c8abed37920a441ce865237c129077917e1af6f7 /rs/java/android/renderscript/ProgramVertexFixedFunction.java | |
parent | e8fd15b2cc271502e189c767bbb50febced5e8ec (diff) |
ProtoLogTool: Fix thread pool leak on code generation exception
Fixes an issue where the thread pool leaks when code generation
throws an exception (for example because of an invalid log string).
When the thread pool leaks, System.exit() no longer works, because
the JVM waits for all threads to exit - which never happens for the
leaked thread pool.
Test: `ProtoLog.w(LOG_GROUP, new String())` -> make droid should not hang
Change-Id: Ibdae0f1e68441c6fe004398d146f496503ccc4cd
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions