Closed dsherret closed 1 month ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 81.49%. Comparing base (
0c7f83e
) to head (5809066
). Report is 28 commits behind head on main.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
During
JsRuntime
drop there were situations whenModuleMap
was actually not dropped. This could happen if there were pending futures stored in theModuleMap
.These futures contain references to
ModuleMap
. The situation lead to memory being leaked and subtle bugs in logic because the futures were not dropped either.ModuleMap::destroy()
was added that clear all pending futures and other relevant data from the map during destruction ofJsRealm
.