fix initialization

This commit is contained in:
Fabian Freund
2025-05-03 23:45:39 +02:00
parent f18b31042c
commit cb929dd60d
2 changed files with 3 additions and 2 deletions
@@ -59,6 +59,7 @@ object GlobalComponents {
tabContentEvents,
extensionEvents
)
_components = newComponents
//newComponents.crashReporter.install(applicationContext)
@@ -109,7 +110,5 @@ object GlobalComponents {
GlobalScope.launch(Dispatchers.IO) {
newComponents.core.fileUploadsDirCleaner.cleanUploadsDirectory()
}
_components = newComponents
}
}
@@ -64,6 +64,8 @@ class GeckoBrowserApiImpl : GeckoBrowserApi {
fun attachBinding(flutterPluginBinding: FlutterPluginBinding) {
_flutterPluginBinding = flutterPluginBinding
_flutterEvents = GeckoStateEvents(_flutterPluginBinding.binaryMessenger)
isGeckoInitialized = false
}
fun attachActivity(activity: Activity) {