Exclude debug from eval/exec over all buffers
This commit is contained in:
parent
55d1d1020d
commit
9697f61b0d
|
@ -1591,6 +1591,7 @@ void context_wrap(const ParametersParser& parser, Context& context, Func func)
|
||||||
transform(std::mem_fn(&std::unique_ptr<Buffer>::get));
|
transform(std::mem_fn(&std::unique_ptr<Buffer>::get));
|
||||||
Vector<SafePtr<Buffer>> buffers{ptrs.begin(), ptrs.end()};
|
Vector<SafePtr<Buffer>> buffers{ptrs.begin(), ptrs.end()};
|
||||||
for (auto buffer : buffers)
|
for (auto buffer : buffers)
|
||||||
|
if (not (buffer->flags() & Buffer::Flags::Debug))
|
||||||
context_wrap_for_buffer(*buffer);
|
context_wrap_for_buffer(*buffer);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue
Block a user