add rl_callback_handler_remove so that readline cleans up
This commit is contained in:
parent
4a686bb4c3
commit
8d5e1ea537
1 changed files with 1 additions and 0 deletions
1
main.cpp
1
main.cpp
|
|
@ -173,6 +173,7 @@ int main(int argc, char* argv[])
|
||||||
readThread.join();
|
readThread.join();
|
||||||
close(pollQue);
|
close(pollQue);
|
||||||
close(sigfd);
|
close(sigfd);
|
||||||
|
rl_callback_handler_remove();
|
||||||
std::cout<<std::endl;
|
std::cout<<std::endl;
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue