Tj Holowaychuk 14 years ago
parent
commit
a064315e87
  1. 1
      src/Image.cc

1
src/Image.cc

@ -254,6 +254,7 @@ Image::loaded() {
void void
Image::error(Local<Value> err) { Image::error(Local<Value> err) {
HandleScope scope; HandleScope scope;
// TODO: properly dispose
// TODO: handle exception in onerror segfault // TODO: handle exception in onerror segfault
if (!onerror.IsEmpty()) { if (!onerror.IsEmpty()) {
Local<Value> argv[1] = { err }; Local<Value> argv[1] = { err };

Loading…
Cancel
Save