From 6f1a4617f60b7ae0d445a651c7140b65299f7454 Mon Sep 17 00:00:00 2001 From: Dario Date: Mon, 4 May 2020 11:58:38 +0200 Subject: [PATCH] adding reset transactions in session if someone forget signing his transaction --- src/cpp/model/Session.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/cpp/model/Session.cpp b/src/cpp/model/Session.cpp index f733364d6..226460cbb 100644 --- a/src/cpp/model/Session.cpp +++ b/src/cpp/model/Session.cpp @@ -118,6 +118,11 @@ void Session::reset() mLastExternReferer = ""; mClientLoginIP = Poco::Net::IPAddress(); unlock(); + + // reset transactions + mCurrentActiveProcessingTransaction = nullptr; + mProcessingTransactions.clear(); + //printf("[Session::reset] finished\n"); }