-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Description
Checklist
- I have used the search function to see if someone else has already submitted the same bug report.
- I will describe the problem with as much detail as possible.
App version
6.202
Where did you get the app from?
Google Play
Android version
Android 12 / LineageOS 19.1
Device model
No response
Steps to reproduce
- Observe the push service is running after boot or whatever.
- Open the app, read some mail and close the app (swipe it out of tasks to be sure).
- Observe that extra WebView process keep running forever along with the service.
Expected behavior
WebView process should exit when the app is closed.
Actual behavior
Starting as usual the service is fine.
When I open the app and view some mail, WebView process is started. But it never unloads after the app was closed, just keeps hanging along with the push service and wasting memory no matter what. Also there is no dedicated exit button in the app to properly close it.
I found two ways to kill it without stopping the service:
Force stop WebView app from its info page.
Or kill the process using some process viewer (requires root).
Only after that we return back to expected state.
My thoughts: Android obviously treats WebView process as part of the service and never kills it. Foreground services have high priority and never being unloaded even under low memory conditions. There should be some way to avoid such behavior or at least make an "exit" button in the app, which properly shuts down all its processes, but keeps the push service running.
Logs
No response





