diff --git a/gpgs/src/gpgs_callback.cpp b/gpgs/src/gpgs_callback.cpp index 3247bf4..bc76e5d 100644 --- a/gpgs/src/gpgs_callback.cpp +++ b/gpgs/src/gpgs_callback.cpp @@ -150,8 +150,7 @@ void gpgs_callback_update() free(data->json); data->json = 0; } - m_callbacksQueue.EraseSwap(i--); } - + m_callbacksQueue.SetSize(0); } -#endif \ No newline at end of file +#endif