Skip to content
Snippets Groups Projects
Commit c64dd6fc authored by Jake Taylor's avatar Jake Taylor
Browse files

comment

parent 28bc1c59
Branches
Tags
1 merge request!60Revert "Fail a test to be sure it works"
...@@ -91,6 +91,9 @@ func newWASMModel(databaseName string, cb MessageReceivedCallback) ( ...@@ -91,6 +91,9 @@ func newWASMModel(databaseName string, cb MessageReceivedCallback) (
return nil, err return nil, err
} }
// FIXME: The below is a hack that for some reason prevents moving on with
// uninitialized database despite the previous call to Await.
// It would be idea to find a different solution.
// Close and open again to ensure the state is finalized // Close and open again to ensure the state is finalized
err = db.Close() err = db.Close()
if err != nil { if err != nil {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment