Close db on worker put
This commit is contained in:
parent
adcb55b937
commit
100a8f8fab
@ -61,6 +61,7 @@ let service = {
|
||||
} else {
|
||||
db.table(table).put(decoded);
|
||||
}
|
||||
db.close();
|
||||
return true;
|
||||
} catch {
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user