fix initialization
This commit is contained in:
+1
-2
@@ -59,6 +59,7 @@ object GlobalComponents {
|
|||||||
tabContentEvents,
|
tabContentEvents,
|
||||||
extensionEvents
|
extensionEvents
|
||||||
)
|
)
|
||||||
|
_components = newComponents
|
||||||
|
|
||||||
//newComponents.crashReporter.install(applicationContext)
|
//newComponents.crashReporter.install(applicationContext)
|
||||||
|
|
||||||
@@ -109,7 +110,5 @@ object GlobalComponents {
|
|||||||
GlobalScope.launch(Dispatchers.IO) {
|
GlobalScope.launch(Dispatchers.IO) {
|
||||||
newComponents.core.fileUploadsDirCleaner.cleanUploadsDirectory()
|
newComponents.core.fileUploadsDirCleaner.cleanUploadsDirectory()
|
||||||
}
|
}
|
||||||
|
|
||||||
_components = newComponents
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
+2
@@ -64,6 +64,8 @@ class GeckoBrowserApiImpl : GeckoBrowserApi {
|
|||||||
fun attachBinding(flutterPluginBinding: FlutterPluginBinding) {
|
fun attachBinding(flutterPluginBinding: FlutterPluginBinding) {
|
||||||
_flutterPluginBinding = flutterPluginBinding
|
_flutterPluginBinding = flutterPluginBinding
|
||||||
_flutterEvents = GeckoStateEvents(_flutterPluginBinding.binaryMessenger)
|
_flutterEvents = GeckoStateEvents(_flutterPluginBinding.binaryMessenger)
|
||||||
|
|
||||||
|
isGeckoInitialized = false
|
||||||
}
|
}
|
||||||
|
|
||||||
fun attachActivity(activity: Activity) {
|
fun attachActivity(activity: Activity) {
|
||||||
|
|||||||
Reference in New Issue
Block a user