diff --git a/core/src/main/scala/lightdb/LightDB.scala b/core/src/main/scala/lightdb/LightDB.scala index 8d6fa6e0..7bcf68c7 100644 --- a/core/src/main/scala/lightdb/LightDB.scala +++ b/core/src/main/scala/lightdb/LightDB.scala @@ -100,7 +100,7 @@ trait LightDB extends Initializable with FeatureSupport[DBFeatureKey] { dispose().sync() })) // Set initialized - _ = databaseInitialized.set(true) + _ <- databaseInitialized.set(true) } yield () /**