This crashes sometimes when leaving matches

This commit is contained in:
Federico Cecchetto 2022-05-24 19:46:07 +02:00
parent cf3194ddf6
commit 24e47bf358

View File

@ -84,13 +84,13 @@ namespace steam
result_handlers_[result.call]->run(result.data, false, result.call); result_handlers_[result.call]->run(result.data, false, result.call);
} }
for (const auto& callback : callback_list_) /*for (const auto& callback : callback_list_)
{ {
if (callback && callback->get_i_callback() == result.type) if (callback && callback->get_i_callback() == result.type)
{ {
callback->run(result.data, false, 0); callback->run(result.data, false, 0);
} }
} }*/
if (result.data) if (result.data)
{ {