inh3 / nPool

A cross-platform thread pool add-on for Node.js and io.js.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

segfault if thread function's last statement is console.log

rmzg opened this issue · comments

commented

Example thread function file:

module.exports = function() { this.work_method = function( data ) { console.log("WORKMETHOD"); } };

When executed via nPool.queueWork(...); it segfaults.