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:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user