Runtime shutdown causes Android APK app to exit
Categories
(GeckoView :: General, defect, P3)
Tracking
(Not tracked)
People
(Reporter: gabrielstrong, Unassigned)
References
Details
User Agent: Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.124 Safari/537.36
Steps to reproduce:
Called GeckoRuntime.create()
Some time later called GeckoRuntime.shutdown()
Actual results:
GeckoRuntime.shutdown() caused the app process to exit with this message:
E/SystemStateListener: mInputManager should be valid!
D/GeckoThread: State changed to EXITING
Expected results:
The GeckoRuntime should have shut down and been ready for a future GeckoRuntime.create().
Tested on x86_64 Android Emulator running Android 7.1 and Android 10.
This happens on the latest nightly version as well (91.0.20210701211644).
Due to the process exit the GeckoRuntime.Delegate/onShutdown never gets called when set:
geckoRuntime.setDelegate(new GeckoRuntime.Delegate() {
@Override
public void onShutdown() {
//
}
});
Updated•4 years ago
|
Comment 2•4 years ago
|
||
This is an occurance of bug 1708580
Description
•