Commits

Robert Clipsham  committed 1ca1888

Fixed some issues causing seemingly random crashes due to delegates not being
real closures.

  • Participants
  • Parent commits 8326cb7

Comments (0)

Files changed (1)

File serenity/database/Sqlite.d

     public Result!(T) lazyExecute(T)(char[] query, Bind[] params, char[][] columns)
     {
         auto res = new Result!(T);
-        Serenity.poolAppend((Result!(T) result)
+        Serenity.poolAppend((Result!(T) result, SqliteDatabase db, char[] query, Bind[] params, char[][] columns)
         {
-            execute!(T)(query, params, columns, true, result);
-        }, res);
+            db.execute!(T)(query, params, columns, true, result);
+        }, res, this, query, params, columns);
         return res;
     }