improve initialization
This commit is contained in:
1 parent
091a1b17dd
commit
9064a961ac
1 file changed
+3
-3
+3
-3
@@ -87,12 +87,12 @@ class GeckoBrowserApiImpl : GeckoBrowserApi {
|
||||
|
||||
override fun initialize() {
|
||||
synchronized(this) {
|
||||
setupGeckoEngine()
|
||||
|
||||
if(!isGeckoInitialized) {
|
||||
Log.addSink(AndroidLogSink())
|
||||
isGeckoInitialized = true
|
||||
}
|
||||
|
||||
setupGeckoEngine()
|
||||
isGeckoInitialized = true
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user