diff options
author | Stephan Bergmann <stephan.bergmann@allotropia.de> | 2024-08-30 16:19:10 +0200 |
---|---|---|
committer | Stephan Bergmann <stephan.bergmann@allotropia.de> | 2024-08-31 08:29:23 +0200 |
commit | 91842724235bca73690d67d8084ec7581512d791 (patch) | |
tree | 8c2600fc6bb0c7b03879e3c141c8c54232a0d62e /eventattacher/Module_eventattacher.mk | |
parent | 712bddcec53a8f3ef5f70d4d9e9201b186452cf6 (diff) |
Explicitly .delete() type and interface objects in uno.js
These objects use smart proxies, so Embind adds them to a JS finalizer (in JS
runtimes where FinalizationRegistry is available), so it shouldn't be necessary
to manually .delete() them, but Embind then emits "Embind found a leaked C++
instance..." warnings about them, which clutter the JS console.
While it is probably impractical for client code to manually .delete() all such
instances, we can at least explicitly .delete() those that occur in uno.js
itself.
Change-Id: Ia21ca5f0bdb246cc5ea272599befd9a16bc970a8
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/172661
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
Diffstat (limited to 'eventattacher/Module_eventattacher.mk')
0 files changed, 0 insertions, 0 deletions