0
0
Fork 0
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:
Jason Volk 2019-03-30 15:18:22 -07:00
parent a83e304382
commit 8f4b8c9726

View file

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