mirror of
https://github.com/matrix-construct/construct
synced 2024-11-29 10:12:39 +01:00
modules/vm: Restore the txn pointer (to null) after eval.
This commit is contained in:
parent
a83e304382
commit
8f4b8c9726
1 changed files with 5 additions and 0 deletions
|
@ -680,6 +680,11 @@ ircd::m::vm::execute_pdu(eval &eval,
|
|||
sequence::pending
|
||||
};
|
||||
|
||||
const scope_restore remove_txn
|
||||
{
|
||||
eval.txn, std::shared_ptr<db::txn>{}
|
||||
};
|
||||
|
||||
assert(eval.opts);
|
||||
const auto &opts
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue