You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
electronWorkers.kill(true); or electronWorkers.kill(); doesn't seem to work. My background process keeps running :/... The "quit" is called when the main process that spawns electronWorkers is being stopped... I also tried posting another command, but that doesn't seem to work either. Am I doing something wrong?
function startCapture() {
electronWorkers.start(function(startErr) {
if (startErr) { /*throw new Error(startErr); */}
// `electronWorkers` will send your data in a POST request to your electron script
electronWorkers.execute(
{ cmd: 'start', capturePath: global.config.app('capture.screenshots'), isVisible: global.config.isDev() },
(err, data) => { }
);
});
}
electronWorkers.kill(true);
orelectronWorkers.kill();
doesn't seem to work. My background process keeps running :/... The "quit" is called when the main process that spawns electronWorkers is being stopped... I also tried posting another command, but that doesn't seem to work either. Am I doing something wrong?Example code:
The text was updated successfully, but these errors were encountered: