diff --git a/retroshare-gui/src/gui/gxsforums/GxsForumsFillThread.cpp b/retroshare-gui/src/gui/gxsforums/GxsForumsFillThread.cpp index 045495bd7..1a3cf5f57 100644 --- a/retroshare-gui/src/gui/gxsforums/GxsForumsFillThread.cpp +++ b/retroshare-gui/src/gui/gxsforums/GxsForumsFillThread.cpp @@ -193,8 +193,10 @@ void GxsForumsFillThread::run() } /* process messages */ - while (msgs.size()) { - while (threadList.size() > 0) { + while (msgs.size()) + { + while (!threadList.empty()) + { if (wasStopped()) { break; }