APIController.cpp   APIController.cpp 
skipping to change at line 30 skipping to change at line 30
#include "APIController.hpp" #include "APIController.hpp"
#include <QJsonDocument> #include <QJsonDocument>
APIController::APIController(int prefixLength, QObject* parent) : HttpReque stHandler(parent), m_prefixLength(prefixLength) APIController::APIController(int prefixLength, QObject* parent) : HttpReque stHandler(parent), m_prefixLength(prefixLength)
{ {
} }
APIController::~APIController() APIController::~APIController()
{ {
qDeleteAll(m_serviceMap);
m_serviceMap.clear();
} }
void APIController::update(double deltaTime) void APIController::update(double deltaTime)
{ {
mutex.lock(); mutex.lock();
foreach(AbstractAPIService* service, m_serviceMap) foreach(AbstractAPIService* service, m_serviceMap)
{ {
service->update(deltaTime); service->update(deltaTime);
} }
mutex.unlock(); mutex.unlock();
 End of changes. 1 change blocks. 
1 lines changed or deleted 2 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/