• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1'use strict';
2// Flags: --expose-gc
3const common = require('../common');
4const onGC = require('../common/ongc');
5
6{
7  onGC({}, { ongc: common.mustCall() });
8  global.gc();
9}
10
11{
12  onGC(process, { ongc: common.mustNotCall() });
13  global.gc();
14}
15