deanmao / node-chimera

A new kind of headless webkit integration for nodejs; a great alternative to phantomjs.
http://www.deanmao.com/2012/08/13/enter-chimera/
MIT License
847 stars 45 forks source link

chimera is not terminating #9

Closed mren closed 8 years ago

mren commented 11 years ago

Hey,

i just tried out your example on a mac

var Chimera = require('chimera').Chimera;

var c = new Chimera();
c.perform({
  url: "http://www.google.com",
  locals: {

  },
  run: function(callback) {
    callback(null, "success");
  },
  callback: function(err, result) {
    console.log('finished', err, result);
    c.close()
  }
});

if i execute the script with node chimera.js i get the 'finished' message, but the script is stil running.

how can i terminate the script in a safe manner?

cheers mark

deanmao commented 11 years ago

I'll take a look...

mren commented 11 years ago

any updates?

deanmao commented 11 years ago

Hey sorry, on vacation right now, I'll take a look soon.

Meekohi commented 11 years ago

I have the same issue.

Mac OSX Node v0.8.20 Chimera 0.3.2