You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The test was flaky because the FileHandle for the history file could be
garbage collected before being explicitly closed, causing ERR_INVALID_STATE
errors when the handle was already closed by the GC finalizer.
This fix adds an explicit closeHandle() method to ReplHistory and ensures
that REPLServer.close() waits for the history file handle to be properly
closed before completing the close operation.
Fixes: nodejs/reliability#1450
0 commit comments