WT 1.1.0+35 design1
This commit is contained in:
@@ -29,7 +29,11 @@ class DB {
|
||||
});
|
||||
}
|
||||
|
||||
Future<void> closeDb() async => this._db.close();
|
||||
Future<void> closeDb() async {
|
||||
if ( _db != null ) {
|
||||
this._db.close();
|
||||
}
|
||||
}
|
||||
|
||||
Database getDB() => this._db;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user