forked from mirror/openmw-tes3mp
[Client] Fix memory leaks
This commit is contained in:
parent
3372f27f3a
commit
eda74ddf44
3 changed files with 3 additions and 7 deletions
|
@ -22,12 +22,6 @@ mwmp::CellController::CellController()
|
|||
{
|
||||
|
||||
}
|
||||
|
||||
mwmp::CellController::~CellController()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
void CellController::updateLocal(bool forceUpdate)
|
||||
{
|
||||
for (std::map<std::string, mwmp::Cell *>::iterator it = cellsInitialized.begin(); it != cellsInitialized.end();)
|
||||
|
|
|
@ -14,7 +14,6 @@ namespace mwmp
|
|||
public:
|
||||
|
||||
CellController();
|
||||
~CellController();
|
||||
|
||||
void updateLocal(bool forceUpdate);
|
||||
void updateDedicated(float dt);
|
||||
|
|
|
@ -94,6 +94,9 @@ Main::~Main()
|
|||
LOG_MESSAGE_SIMPLE(Log::LOG_INFO, "tes3mp stopped");
|
||||
delete mNetworking;
|
||||
delete mLocalPlayer;
|
||||
delete mCellController;
|
||||
delete mGUIController;
|
||||
delete mMechanicsHelper;
|
||||
PlayerList::cleanUp();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue