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