1
0
mirror of https://github.com/actions/labeler synced 2026-05-11 14:51:05 +02:00
This commit is contained in:
David Kale
2020-09-08 13:25:36 -04:00
parent e4246d2b5b
commit 91fcbb0108
4227 changed files with 416837 additions and 457884 deletions

View File

@@ -12,11 +12,11 @@ let reference = {};
const detector = new LeakDetector(reference);
// Reference is held in memory.
console.log(detector.isLeaked()); // true
console.log(detector.isLeaking()); // true
// We destroy the only reference to the object.
reference = null;
// Reference is gone.
console.log(detector.isLeaked()); // false
console.log(detector.isLeaking()); // false
```