From 4333808646d6dab3c3e6ef9d35d2c51a72e493c3 Mon Sep 17 00:00:00 2001 From: otavepto <153766569+otavepto@users.noreply.github.com> Date: Sat, 1 Jun 2024 14:24:39 +0300 Subject: [PATCH] also delete background thread instance! --- dll/steam_client.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dll/steam_client.cpp b/dll/steam_client.cpp index f77598a8..333cedf9 100644 --- a/dll/steam_client.cpp +++ b/dll/steam_client.cpp @@ -137,6 +137,8 @@ Steam_Client::~Steam_Client() { #define DEL_INST(_obj_ins) do if (_obj_ins) { delete _obj_ins; _obj_ins = nullptr; } while(0) + DEL_INST(background_thread); + DEL_INST(steam_gameserver); DEL_INST(steam_gameserver_utils); DEL_INST(steam_gameserverstats);