DescriptionCorrect the usage of finalize in TracingControllerAndroid class.
TracingControllerAndroid should destroy its native instance when it
is done instead of relying on finalize() to destroy it, as vm does
not guaranteed finalize() will be called.
(source: http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html#finalize%28%29)
Implement destroy() to immediately destroy native instance.
BUG=None.
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=283177
Patch Set 1 #
Total comments: 4
Patch Set 2 : updated as per comments #
Messages
Total messages: 18 (0 generated)
|