forbid nf7:import() while handling inputs in LuaJIT/Node

This commit is contained in:
falsycat 2022-11-19 12:07:06 +09:00
parent 80d33bd5d4
commit 704d8c93ca

View File

@ -167,7 +167,6 @@ class Node::Lambda final : public nf7::Node::Lambda,
auto hndl = nf7::luajit::Thread::CreateNodeLambdaHandler(in.sender, self);
auto th = th_owner_.Create<nf7::luajit::Thread>(self, ljq, std::move(hndl));
th->Install(log_);
th->Install(f_->importer_);
ljq->Push(self, [this, ljq, th, func, in](auto L) mutable {
{