Issue metadata
Sign in to add a comment
|
chrome 2nd profile wont close probably if the first one is open
Reported by
yahyoh1...@gmail.com,
Jun 29 2017
|
||||||||||||||||||||||
Issue descriptionUserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.115 Safari/537.36 Steps to reproduce the problem: 1. open 2 chrome profiles at the same time 2. close 1 of them 3. check chrome task manager you will see all the other profile apps and extension still running What is the expected behavior? profile should close probably What went wrong? when using chrome with 2 profile at the same time then closing 1 of them it wont close probably all its apps extension would be still running in the background till you fully exit chrome(both profiles) or sometimes even you will need to kill it from task manager Did this work before? No Chrome version: 59.0.3071.115 Channel: stable OS Version: 10.0 Flash Version: Shockwave Flash 26.0 r0
,
Jun 29 2017
It's indeed somewhat weird from a user's perspective. Not sure this can be changed though. Those extensions in your screenshot use persistent background pages [1] that start just once per browser lifetime, and in current implementation of the extensions API it doesn't matter if you close all windows of the initiating user profile. A modern and preferred approach is to use a non-persistent event page [2] instead, but not all extensions can utilize it, and in many cases the authors just don't care. Note, there's an additional background permission [3] that starts an app/extension on logon of OS and keeps it running even when all browser windows are closed (at least in Windows OS). [1]: https://developer.chrome.com/extensions/background_pages [2]: https://developer.chrome.com/extensions/event_pages [3]: https://developer.chrome.com/extensions/declare_permissions#background
,
Jun 29 2017
,
Jun 29 2017
,
Jul 3 2017
Assuming that none of your extensions require background permission then unloading profile would save some memory and it is definitely a good thing. However, currently Chrome never unloads profiles and implementing such a thing is a significant project. There's a similar issue 491430, I'm going to close this one as a duplicate. |
|||||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||||
Comment 1 by yahyoh1...@gmail.com
, Jun 29 201732.5 KB
32.5 KB View Download