From: Maxim Mamontov Date: Wed, 18 May 2011 15:10:45 +0000 (+0300) Subject: Fix infinite loop while sending messages repeatedly X-Git-Tag: 2.407-p1~2 X-Git-Url: https://git.stg.codes/stg.git/commitdiff_plain/15683eb58c0d154f5dda82def6eccfdb2e3e76d2 Fix infinite loop while sending messages repeatedly --- diff --git a/projects/stargazer/user_impl.cpp b/projects/stargazer/user_impl.cpp index d89bbe47..7f2d5e0b 100644 --- a/projects/stargazer/user_impl.cpp +++ b/projects/stargazer/user_impl.cpp @@ -1281,6 +1281,10 @@ while (it != messages.end()) ++it; } } + else + { + ++it; + } } } //-----------------------------------------------------------------------------