Skip to content
Snippets Groups Projects
Commit 6683c5f3 authored by Jan Trávníček's avatar Jan Trávníček
Browse files

clean readline history in aql on exit

parent 70b0784e
No related branches found
No related tags found
1 merge request!125procedural aql
...@@ -79,6 +79,7 @@ ReadlinePromptHistory::ReadlinePromptHistory ( std::string history_file ) : m_hi ...@@ -79,6 +79,7 @@ ReadlinePromptHistory::ReadlinePromptHistory ( std::string history_file ) : m_hi
   
ReadlinePromptHistory::~ ReadlinePromptHistory ( ) { ReadlinePromptHistory::~ ReadlinePromptHistory ( ) {
ReadlinePromptHistory::writeHistory ( m_history_file ); ReadlinePromptHistory::writeHistory ( m_history_file );
clear_history ( );
} }
   
void ReadlinePromptHistory::readHistory ( const std::string & history_file ) { void ReadlinePromptHistory::readHistory ( const std::string & history_file ) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment