Issue 791 - Saved sessions are discarded on ZAP's exit
Issue 791 - Saved sessions are discarded on ZAP's exit

Changed the method Control#exit(boolean, File) to only discard the session if it was not previously saved.

zapbot/zaproxy,mario-areias/zaproxy,lightsey/zaproxy,surikato/zaproxy,thamizarasu/zaproxy,0xkasun/zaproxy,urgupluoglu/zaproxy,JordanGS/zaproxy,veggiespam/zaproxy,Ye-Yong-Chi/zaproxy,gmaran23/zaproxy,tjackiw/zaproxy,mabdi/zaproxy,jorik041/zaproxy,UjuE/zaproxy,surikato/zaproxy,thamizarasu/zaproxy,Ye-Yong-Chi/zaproxy,lightsey/zaproxy,JordanGS/zaproxy,robocoder/zaproxy,ozzyjohnson/zaproxy,mario-areias/zaproxy,pdehaan/zaproxy,psiinon/zaproxy,urgupluoglu/zaproxy,rajiv65/zaproxy,psiinon/zaproxy,Harinus/zaproxy,DJMIN/zaproxy,lightsey/zaproxy,thamizarasu/zaproxy,JordanGS/zaproxy,JordanGS/zaproxy,NVolcz/zaproxy,robocoder/zaproxy,zaproxy/zaproxy,DJMIN/zaproxy,meitar/zaproxy,psiinon/zaproxy,efdutra/zaproxy,profjrr/zaproxy,0xkasun/zaproxy,meitar/zaproxy,ozzyjohnson/zaproxy,surikato/zaproxy,mustafa421/zaproxy,MD14/zaproxy,psiinon/zaproxy,kingthorin/zaproxy,mabdi/zaproxy,UjuE/zaproxy,cassiodeveloper/zaproxy,Ye-Yong-Chi/zaproxy,gsavastano/zaproxy,zaproxy/zaproxy,pdehaan/zaproxy,urgupluoglu/zaproxy,thc202/zaproxy,DJMIN/zaproxy,efdutra/zaproxy,zapbot/zaproxy,surikato/zaproxy,ozzyjohnson/zaproxy,mario-areias/zaproxy,Harinus/zaproxy,rajiv65/zaproxy,zaproxy/zaproxy,gmaran23/zaproxy,zaproxy/zaproxy,NVolcz/zaproxy,veggiespam/zaproxy,jorik041/zaproxy,Harinus/zaproxy,efdutra/zaproxy,tjackiw/zaproxy,mabdi/zaproxy,jorik041/zaproxy,kingthorin/zaproxy,Ali-Razmjoo/zaproxy,rajiv65/zaproxy,0xkasun/zaproxy,rajiv65/zaproxy,surikato/zaproxy,Ye-Yong-Chi/zaproxy,thamizarasu/zaproxy,ozzyjohnson/zaproxy,cassiodeveloper/zaproxy,pdehaan/zaproxy,lightsey/zaproxy,robocoder/zaproxy,Ye-Yong-Chi/zaproxy,MD14/zaproxy,MD14/zaproxy,meitar/zaproxy,DJMIN/zaproxy,thamizarasu/zaproxy,thc202/zaproxy,mabdi/zaproxy,UjuE/zaproxy,Ali-Razmjoo/zaproxy,mario-areias/zaproxy,mario-areias/zaproxy,mustafa421/zaproxy,thamizarasu/zaproxy,MD14/zaproxy,Ali-Razmjoo/zaproxy,profjrr/zaproxy,efdutra/zaproxy,psiinon/zaproxy,Harinus/zaproxy,gmaran23/zaproxy,gmaran23/zaproxy,thc202/zaproxy,zapbot/zaproxy,pdehaan/zaproxy,urgupluoglu/zaproxy,robocoder/zaproxy,zapbot/zaproxy,kingthorin/zaproxy,surikato/zaproxy,0xkasun/zaproxy,zaproxy/zaproxy,meitar/zaproxy,jorik041/zaproxy,gmaran23/zaproxy,NVolcz/zaproxy,gsavastano/zaproxy,DJMIN/zaproxy,gmaran23/zaproxy,tjackiw/zaproxy,Ali-Razmjoo/zaproxy,JordanGS/zaproxy,gsavastano/zaproxy,urgupluoglu/zaproxy,Ali-Razmjoo/zaproxy,tjackiw/zaproxy,veggiespam/zaproxy,profjrr/zaproxy,kingthorin/zaproxy,efdutra/zaproxy,mustafa421/zaproxy,UjuE/zaproxy,Ye-Yong-Chi/zaproxy,mustafa421/zaproxy,meitar/zaproxy,cassiodeveloper/zaproxy,Ye-Yong-Chi/zaproxy,veggiespam/zaproxy,Harinus/zaproxy,UjuE/zaproxy,mustafa421/zaproxy,urgupluoglu/zaproxy,UjuE/zaproxy,mabdi/zaproxy,cassiodeveloper/zaproxy,gsavastano/zaproxy,pdehaan/zaproxy,psiinon/zaproxy,Harinus/zaproxy,jorik041/zaproxy,Ali-Razmjoo/zaproxy,veggiespam/zaproxy,kingthorin/zaproxy,zapbot/zaproxy,zapbot/zaproxy,zapbot/zaproxy,NVolcz/zaproxy,rajiv65/zaproxy,gsavastano/zaproxy,robocoder/zaproxy,MD14/zaproxy,surikato/zaproxy,0xkasun/zaproxy,mario-areias/zaproxy,gsavastano/zaproxy,jorik041/zaproxy,profjrr/zaproxy,zaproxy/zaproxy,veggiespam/zaproxy,DJMIN/zaproxy,mustafa421/zaproxy,efdutra/zaproxy,veggiespam/zaproxy,0xkasun/zaproxy,zaproxy/zaproxy,UjuE/zaproxy,NVolcz/zaproxy,thc202/zaproxy,rajiv65/zaproxy,profjrr/zaproxy,tjackiw/zaproxy,cassiodeveloper/zaproxy,meitar/zaproxy,cassiodeveloper/zaproxy,JordanGS/zaproxy,kingthorin/zaproxy,thamizarasu/zaproxy,tjackiw/zaproxy,lightsey/zaproxy,DJMIN/zaproxy,psiinon/zaproxy,MD14/zaproxy,pdehaan/zaproxy,mario-areias/zaproxy,mabdi/zaproxy,cassiodeveloper/zaproxy,profjrr/zaproxy,ozzyjohnson/zaproxy,thc202/zaproxy,Harinus/zaproxy,thc202/zaproxy,urgupluoglu/zaproxy,lightsey/zaproxy,robocoder/zaproxy,rajiv65/zaproxy,lightsey/zaproxy,efdutra/zaproxy,Ali-Razmjoo/zaproxy,JordanGS/zaproxy,pdehaan/zaproxy,gmaran23/zaproxy,ozzyjohnson/zaproxy,ozzyjohnson/zaproxy,kingthorin/zaproxy,meitar/zaproxy,NVolcz/zaproxy,robocoder/zaproxy,NVolcz/zaproxy,tjackiw/zaproxy,MD14/zaproxy,0xkasun/zaproxy,thc202/zaproxy,jorik041/zaproxy,mustafa421/zaproxy,meitar/zaproxy,gsavastano/zaproxy,mabdi/zaproxy,profjrr/zaproxy