1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-25 00:15:45 +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

@@ -204,7 +204,7 @@ function Search() //{{{
this.startPt.setStart(node, node.childNodes.length);
this.startPt.setEnd(node, node.childNodes.length);
if (n++ % 20 == 0)
liberator.threadYield();
liberator.threadYield(true);
if (liberator.interrupted)
break;
}