Issue #618 - Implement preloading of module scripts.

This hooks up module scripts to the existing preload mechanism.
This commit is contained in:
Moonchild 2020-08-27 15:44:53 +00:00 committed by roytam1
commit 1e87731ce1
3 changed files with 63 additions and 22 deletions

View file

@ -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;