improve initialization

This commit is contained in:
Fabian Freund committed 2025-04-24 23:32:27 +02:00
1 parent 091a1b17dd
commit 9064a961ac
1 file changed
+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
}
}