Closed
Description
Version
v20.5.0
Platform
macos
Subsystem
No response
What steps will reproduce the bug?
const repl = require('repl');
var r = repl.start({});
r.setupHistory(__dirname + '/history', () => { }); // Different results will occur here
r.close();
How often does it reproduce? Is there a required condition?
No response
What is the expected behavior? Why is that the expected behavior?
No response
What do you see instead?
After calling setupHistory, the program continues to run even after the REPL is closed.
Additional information
No response
Activity