mirror of
https://github.com/dart-lang/sdk
synced 2024-11-02 08:07:11 +00:00
1b94364da7
The finalizers associate each native object with a Dart object that owns them. The finalizers need to be in native code, so I had to go back to the old approach of linking Wasmer and my native code into a single .so. TEST=I tried running the wasm tests using asan, but it didn't detect any leaks even before the finalizers. So I put printfs in all the set_finalizer and finalizer functions and manually verified that all the finalizers were being run. Bug: https://github.com/dart-lang/sdk/issues/37882 Change-Id: I38303ae0c6c446a23562c1b157c92ccc9af2dc34 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/172680 Reviewed-by: Daco Harkes <dacoharkes@google.com> Commit-Queue: Liam Appelbe <liama@google.com> |
||
---|---|---|
.. | ||
babel | ||
d8 | ||
firefox_jsshell | ||
llvm | ||
mdn/browser-compat-data | ||
pkg_tested | ||
requirejs | ||
tcmalloc | ||
wasmer | ||
.gitignore | ||
7zip.tar.gz.sha1 | ||
clang.tar.gz.sha1 |