diff src/c/urweb.c @ 2030:6add6d00ef5f

Call try_rollback before resetting the context This will allow FFI cleanup handlers to complete.
author Sergey Mironov <grrwlf@gmail.com>
date Sun, 15 Jun 2014 21:13:12 +0000
parents 6372a742ab04
children ea0ecd5fa9df
line wrap: on
line diff
--- a/src/c/urweb.c	Sun Jun 15 10:48:53 2014 -0400
+++ b/src/c/urweb.c	Sun Jun 15 21:13:12 2014 +0000
@@ -3343,7 +3343,7 @@
           if (ctx->transactionals[i].free)
             ctx->transactionals[i].free(ctx->transactionals[i].data, 1);
 
-	return 1;
+        return 1;
       }
 
       for (i = ctx->used_transactionals-1; i >= 0; --i)