mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-04-07 12:43:31 +02:00
Return true from sleep() when done
This commit is contained in:
@@ -1049,6 +1049,7 @@ const liberator = (function () //{{{
|
|||||||
var then = new Date().getTime(), now = then;
|
var then = new Date().getTime(), now = then;
|
||||||
for (; now - then < ms; now = new Date().getTime())
|
for (; now - then < ms; now = new Date().getTime())
|
||||||
mainThread.processNextEvent(true);
|
mainThread.processNextEvent(true);
|
||||||
|
return true;
|
||||||
},
|
},
|
||||||
|
|
||||||
get windows()
|
get windows()
|
||||||
|
|||||||
Reference in New Issue
Block a user