Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deasync.sleep() hanged #62

Closed
nvcwk opened this issue Jul 15, 2016 · 0 comments
Closed

Deasync.sleep() hanged #62

nvcwk opened this issue Jul 15, 2016 · 0 comments

Comments

@nvcwk
Copy link

nvcwk commented Jul 15, 2016

I ran this set of code in my electron application. It just hangs without any console outputs or errors. By deactivating deasync.sleep statement, the console.log() work normally.

var deasync = require(‘deasync’);
setTimeout(function(){  
    deasync.sleep(250);
    console.log("deasync works!"); 
},1);

Here are the environment it ran in:

  • Electron: v1.1.3
  • Node: v4.4.7
  • OS: Linux Mint 17.1 “Rebecca”
  • Deasync: v0.1.2

I did a manual node-gyp rebuild on deasync using:
node-gyp rebuild —target=1.1.3 —arch=x64

Previously, I tried using deasync v0.1.0 on nw.js, it worked properly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant