Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Readjusting the amount of allocated memory. Fixes #367

  • Loading branch information...
commit d920c12b0867fd6d2be2547e74345b4aad5ea7d6 1 parent 285dc4f
@tiagoalves tiagoalves authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  src/Canvas.cc
View
1  src/Canvas.cc
@@ -501,6 +501,7 @@ Canvas::~Canvas() {
break;
case CANVAS_TYPE_IMAGE:
cairo_surface_destroy(_surface);
+ V8::AdjustAmountOfExternalAllocatedMemory(-4 * width * height);
break;
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.