Skip to content

Commit

Permalink
Fix assertion failure in clientlauncher.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
sfan5 committed Mar 3, 2024
1 parent d4d4712 commit 9b97147
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/client/clientlauncher.cpp
Expand Up @@ -267,12 +267,12 @@ bool ClientLauncher::run(GameStartData &start_data, const Settings &cmd_args)
}
} // Menu-game loop

assert(g_menuclouds->getReferenceCount() == 1);
g_menuclouds->drop();
g_menuclouds = nullptr;
assert(g_menucloudsmgr->getReferenceCount() == 1);
g_menucloudsmgr->drop();
g_menucloudsmgr = nullptr;
assert(g_menuclouds->getReferenceCount() == 1);
g_menuclouds->drop();
g_menuclouds = nullptr;

return retval;
}
Expand Down

0 comments on commit 9b97147

Please sign in to comment.