11cb0ef41Sopenharmony_ci'use strict'; 21cb0ef41Sopenharmony_ci// Flags: --expose-gc 31cb0ef41Sopenharmony_ciconst common = require('../../common'); 41cb0ef41Sopenharmony_ciconst assert = require('assert'); 51cb0ef41Sopenharmony_ciconst binding = require(`./build/${common.buildType}/binding`); 61cb0ef41Sopenharmony_ci 71cb0ef41Sopenharmony_cibinding.run(); 81cb0ef41Sopenharmony_ciglobal.gc(); 91cb0ef41Sopenharmony_cisetImmediate(() => { 101cb0ef41Sopenharmony_ci assert.strictEqual(binding.isAlive(), 0); 111cb0ef41Sopenharmony_ci}); 12