mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-08 00:38:39 +09:00
Issue #618 - Implement preloading of module scripts.
This hooks up module scripts to the existing preload mechanism.
This commit is contained in:
parent
065ef47e65
commit
1e87731ce1
3 changed files with 63 additions and 22 deletions
|
|
@ -173,6 +173,12 @@ public:
|
|||
return mScriptMode == ScriptMode::eAsync;
|
||||
}
|
||||
|
||||
virtual bool IsTopLevel() const
|
||||
{
|
||||
// Classic scripts are always top level.
|
||||
return true;
|
||||
}
|
||||
|
||||
void MaybeCancelOffThreadScript();
|
||||
|
||||
using super::getNext;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue