File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -239,8 +239,13 @@ Module["onRuntimeInitialized"] = function onRuntimeInitialized() {
239
239
* You can't instantiate this class directly, you have to use a
240
240
* {@link Database} object in order to create a statement.
241
241
*
242
- * **Warning**: When you close a database (using db.close()),
243
- * all its statements are closed too and become unusable.
242
+ * **Warnings**
243
+ * 1. When you close a database (using db.close()), all
244
+ * its statements are closed too and become unusable.
245
+ * 1. After calling db.prepare() you must manually free the assigned memory
246
+ * by calling Statement.free(). Failure to do this will cause subsequent
247
+ * 'DROP TABLE ...' statements to fail with 'Uncaught Error: database table
248
+ * is locked'.
244
249
*
245
250
* Statements can't be created by the API user directly, only by
246
251
* Database::prepare
You can’t perform that action at this time.
0 commit comments