Closed doongjohn closed 3 months ago
This is strange... because without my modification the session is still saved on exit.
Shouldn't be the case, we call utils.delete_session(session)
.
I guess utils.delete_session
expects string so
filename == utils.active_session_filename
this is comparing session filename object and string?
I've updated the code. It's working for me.
Ah, yes, looks like a bug!
This will make
autosave_only_in_session=true
not save a previously deleted session on exit when it's deleted viadelete_current_dir_session
.