whuang
4 years agoRegular Contributor
Chrome is working in the background and cannot be closed
Hi there,
I used Sys.Process("chrome").Close to close the chrome browser, for most of the time it works perfect, but sometimes I still got a warning in the log file, saying "Chrome is working in the background and cannot be closed.". I have already disable "Continue running background apps when Google Chrome is closed" under Chrome settings Advanced|System, it still happens every now and then. Is there anyway to prevent this from happening?
Thanks in advance!
Take a look at the function from tristaanogre at the bottom of this thread. It should help you out.