-
danakj authored
v8::Persistent will leak on destruction by default, unless marked as copyable. As such, we must call Reset() before destroying any v8::Persistent with the default, non-copyable, traits. Then we can remove the JS cleanup code added to the spellcheck tests. R=avi@chromium.org Bug: 866140, 1069111 Change-Id: I3da663bda02c8916c1a4ae5d21234c54311a1dab Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2161652 Auto-Submit: danakj <danakj@chromium.org> Reviewed-by:
Avi Drissman <avi@chromium.org> Commit-Queue: danakj <danakj@chromium.org> Cr-Commit-Position: refs/heads/master@{#762025}
62dd4b24