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

Allow plugins onUnload handlers, fix some threadYield issues.

This commit is contained in:
Kris Maglione
2008-12-01 15:08:50 +00:00
parent 855caac185
commit a2550499c8
7 changed files with 24 additions and 15 deletions

View File

@@ -501,7 +501,7 @@ CompletionContext.prototype = {
{
let end = Date.now() + timeout;
while (this.incomplete && (!timeout || Date.now() > end))
liberator.threadYield(true, interruptable);
liberator.threadYield(false, interruptable);
return this.incomplete;
}
}