Skip to content

Conversation

@bbernhar
Copy link
Contributor

@bbernhar bbernhar commented Apr 27, 2022

MemoryCache was creating a cached entry without destroying it upon cache destruction, the entry itself was only being unlinked or removed from the cache.

To prevent future mistakes, the end2end test harness enables leak detection by default.

Fixes otcshare/webnn-native#1034

@bbernhar bbernhar added the bug Something isn't working label Apr 27, 2022
MemoryCache was creating a cached entry without destroying it upon cache destruction, the entry itself was only being unlinked or removed from the cache.
To prevent future mistakes, the end2end test harness enables leak detection when supported.
@bbernhar bbernhar merged commit c32f9d3 into main Apr 27, 2022
@bbernhar bbernhar deleted the tmp1 branch April 27, 2022 21:18
@bbernhar bbernhar self-assigned this May 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants