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
By watching the output of lsof -c main on *nix can see that every call to on leaves the previous history file handle open. off does not close the existing file handle either.
The history file is not closed when it is reset, resulting in leaked file handles.
Here's a program that demonstrates the bug:
By watching the output of
lsof -c main
on *nix can see that every call toon
leaves the previous history file handle open.off
does not close the existing file handle either.It seems you need something like:
The text was updated successfully, but these errors were encountered: