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 them after closing browser.
My suggestion can also relate to 'clear browsing data between two seasons' or 'close tabs on exit' etc....
Thanks for submitting an idea to the Mozilla Connect community! Your idea is now open to votes (aka kudos) and comments.