1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-03 09:04:12 +01:00

Return true from sleep() when done

This commit is contained in:
Daniel Bainton
2008-08-29 11:40:50 +00:00
parent f2b0ce2317
commit 7a86114f21

View File

@@ -1049,6 +1049,7 @@ const liberator = (function () //{{{
var then = new Date().getTime(), now = then;
for (; now - then < ms; now = new Date().getTime())
mainThread.processNextEvent(true);
return true;
},
get windows()