DescriptionShape Detection Android: unmap() and close() SharedBufferHandles explicitly
This CL unmap()s and close()s the handle after it has been used,
preventing the harmless but annoying Log [1]
05-10 12:05:23.985 30381 30389 W HandleImpl: Handle was not closed.
and optimising resource usage by not having to wait until
Handle finalize() to release them.
[1] https://cs.chromium.org/chromium/src/mojo/android/system/src/org/chromium/mojo/system/impl/HandleBase.java?type=cs&l=133
BUG=720234
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.mac:mac_optional_gpu_tests_rel
Review-Url: https://codereview.chromium.org/2873093003
Cr-Commit-Position: refs/heads/master@{#470990}
Committed: https://chromium.googlesource.com/chromium/src/+/672bf2b83170847857eea5ac6d0e2f1f71dacac4
Patch Set 1 #
Total comments: 2
Messages
Total messages: 12 (6 generated)
|