mirror of
https://github.com/Detanup01/gbe_fork.git
synced 2025-04-21 21:52:06 +02:00
avoid potential use after free
This commit is contained in:
parent
b874490eda
commit
466b846943
1 changed files with 0 additions and 1 deletions
|
@ -145,7 +145,6 @@ Steam_Overlay::~Steam_Overlay()
|
||||||
{
|
{
|
||||||
if (settings->disable_overlay) return;
|
if (settings->disable_overlay) return;
|
||||||
|
|
||||||
UnSetupOverlay();
|
|
||||||
this->network->rmCallback(CALLBACK_ID_STEAM_MESSAGES, settings->get_local_steam_id(), &Steam_Overlay::overlay_networking_callback, this);
|
this->network->rmCallback(CALLBACK_ID_STEAM_MESSAGES, settings->get_local_steam_id(), &Steam_Overlay::overlay_networking_callback, this);
|
||||||
run_every_runcb->remove(&Steam_Overlay::overlay_run_callback, this);
|
run_every_runcb->remove(&Steam_Overlay::overlay_run_callback, this);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue