From 1a9ac1654600b35bdd50e4b9b10add1af10f4245 Mon Sep 17 00:00:00 2001 From: csoler Date: Thu, 19 Mar 2020 21:20:52 +0100 Subject: [PATCH] fixed bug due to missing iterator increment --- libretroshare/src/retroshare/rsgxsifacehelper.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libretroshare/src/retroshare/rsgxsifacehelper.h b/libretroshare/src/retroshare/rsgxsifacehelper.h index 33015e1f0..65cd356ed 100644 --- a/libretroshare/src/retroshare/rsgxsifacehelper.h +++ b/libretroshare/src/retroshare/rsgxsifacehelper.h @@ -358,6 +358,9 @@ public: mTokenService.cancelRequest(it->first); it = mActiveTokens.erase(it); } + else + ++it; + return true; }