Skip to content

Fix LegalizeJSInterface leaking duplicate stub Functions#3095

Merged
dcodeIO merged 1 commit intoWebAssembly:masterfrom
dcodeIO:ljsi-leak
Sep 2, 2020
Merged

Fix LegalizeJSInterface leaking duplicate stub Functions#3095
dcodeIO merged 1 commit intoWebAssembly:masterfrom
dcodeIO:ljsi-leak

Conversation

@dcodeIO
Copy link
Contributor

@dcodeIO dcodeIO commented Sep 2, 2020

Fixes LegalizeJSInterface::makeLegalStub forgetting to delete stub Functions that turned out to be not needed. Now checks whether a stub is needed and otherwise skips creating the redundant stub right away.

Copy link
Member

@tlively tlively left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice and simple 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants