Fix a bug of the Transaction class (#798)

This commit is contained in:
An Tao 2021-04-13 15:54:50 +08:00 committed by GitHub
parent f670f71484
commit 8f2609d1bd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -258,6 +258,7 @@ void TransactionImpl::execNewTask()
if (usedUpCallback_)
{
usedUpCallback_();
usedUpCallback_ = std::function<void()>();
}
}
}