forked from jsdom/jsdom
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
un-monkey-patch OpenElementStack to avoid leaks
A monkey-patch as modified by commit 75a921e maintains a reference to the most recent JSDOMParse5Adapter (and all its options) through the push/pop closures. Because the monkey-patches are never cleaned up, there is always a reference to the most recent JSDOMParse5Adapter and its related objects. This fixes jestjs/jest#9507 This may fix jsdom#2757
- Loading branch information
Showing
1 changed file
with
40 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters