forked from organicmaps/organicmaps-tmp
Add logging to ArticleVC and SearchVC deallocs.
This commit is contained in:
parent
8d0c37b27a
commit
6ed4c80926
2 changed files with 5 additions and 0 deletions
|
@ -24,6 +24,7 @@
|
|||
|
||||
- (void)dealloc
|
||||
{
|
||||
LOG(LINFO, ("ArticleVC::dealloc."));
|
||||
[webView release];
|
||||
[navBar release];
|
||||
[navSearch release];
|
||||
|
@ -31,6 +32,7 @@
|
|||
[pinchGestureRecognizer release];
|
||||
[articleFormat release];
|
||||
[super dealloc];
|
||||
LOG(LINFO, ("ArticleVC::dealloc done."));
|
||||
}
|
||||
|
||||
- (id)initWithPreviousView:(UIView *)prevView
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
#include "global.hpp"
|
||||
#include "../../words/sloynik_engine.hpp"
|
||||
#include "../../base/assert.hpp"
|
||||
#include "../../base/logging.hpp"
|
||||
#include "../../std/string.hpp"
|
||||
|
||||
struct SloynikData
|
||||
|
@ -28,12 +29,14 @@ struct SloynikData
|
|||
|
||||
- (void)dealloc
|
||||
{
|
||||
LOG(LINFO, ("SearchVC::dealloc."));
|
||||
delete m_pSloynikData;
|
||||
[searchBar release];
|
||||
[resultsView release];
|
||||
[articleVC release];
|
||||
|
||||
[super dealloc];
|
||||
LOG(LINFO, ("SearchVC::dealloc done."));
|
||||
}
|
||||
|
||||
// Implement viewDidLoad to do additional setup after loading the view, typically from a nib.
|
||||
|
|
Loading…
Add table
Reference in a new issue