There is an option 'delete browsing data on quit' that erases opened tabs, browsing data, cookies etc on pressing 'quit' button from toolbar.
But from privacy POV it will be better if instead of pressing 'quit' button, browser automatically deletes ...