Example thread function file: `module.exports = function() { this.work_method = function( data ) { console.log("WORKMETHOD"); } }; ` When executed via nPool.queueWork(...); it segfaults.
Example thread function file:
module.exports = function() { this.work_method = function( data ) { console.log("WORKMETHOD"); } };When executed via nPool.queueWork(...); it segfaults.