Second profile data not deleted unless Brave exits

Description of the issue:
I have 2 Brave profiles on my work computer. I use the main profile for work and the 2nd profile for personal browsing. The 2nd profile is configured to delete all data (cookies, history, downloads, auto-fill data, etc) upon exit. The main profile does not have this setting as I need to keep data on the work profile.
This above configuration worked fine up until recently when I noticed that this stopped working. I closed the 2nd profile but then opened it again a few minutes later, I saw that the history was not deleted. The data is deleted on the 2nd profile only if I close Brave completely not leaving any profiles open at all.

How can this issue be reproduced?

  1. Install new instance of Brave browser.
  2. Create the first profile with normal settings.
  3. Create a second profile configured to clear all data on exit.
  4. Use both profiles to create test data.
  5. Close Profile 2 and reopen to find all data, cookies & history remain.
  6. Close all instances of Brave from both profiles and reopen. The data on profile 1 remains as it because it is not configured to do anything. The data on profile 2 has now been deleted.

Expected result:
When closing all the open windows for any particular profile, the data of that profile should be deleted disregarding the fact that other profiles may remain open at the time. The clear data should work independently for each profile.

Brave Version: [
Version 1.46.144 Chromium: 108.0.5359.128 (Official Build) (64-bit)

Additional Information:
I don’t know if this is a bug or a feature change in the Brave browser. If it was done intentionally, I feel doesn’t make sense and would like to see the deletion of data done independently on a profile level. This worked up until a few weeks ago.

When testing to see if I can replicate this issue, I noticed that the clear data on exit options were configured correctly: Brave Settings/Privacy and Security/Clear browsing data/on exit
However, when opening the same options from the History window, I noticed that none of the options were selected: History/Clear browsing data/On exit


Please advise and thanks in advance for the support.

Thank you for reaching out to us.
I believe that I myself have raised this issue to the team before but I don’t see anything on our Github about it — give me some time to dig/ask around.

That said, the logic here is that the browser clears data on exit — that is, exiting the browser completely, including other browser process (like profiles), rather than clearing on “close”, which is what the “x” button does.

I personally do not agree with this logic and believe this (Clear data on Exit) should work on a “per profile” basis as this makes more sense intuitively and makes the expected behavior clear. I’m reaching out to the team now to see what (if anything) we can do about this.

Thank you again for reporting.


Thanks for your feedback @Mattches.

It seems our thinking is aligned on this issue. I look forward to your response when you have an update.

1 Like

I’ve opened the following issue for the team to review. While I think this will actually end up being a non-trivial change (if we do decide to implement it at all) I think it’s still a good idea to call this behavior out.

+1 Agreed

I thought this was how it worked… this probably explains the “glitch” I was seeing where I had to manually clear past data when opening a profile even though I had clear on exit set… Live and learn.

1 Like

Hi @Mattches ,

Thanks for the update. Please keep in mind that this ‘problematic’ behaviour only started recently. I can’t provide a sepcific timeline, but up until about a month ago, It worked as we expect that it should. This has changed in a recent update that disabled or broken the clearing of data per profile.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.