Skip to content

Commit

Permalink
Added dealloc in demo
Browse files Browse the repository at this point in the history
  • Loading branch information
dbsGen committed Sep 22, 2015
1 parent 3878454 commit eef816e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions SlimeRefresh/SRTViewController.m
Expand Up @@ -57,6 +57,11 @@ - (void)viewDidLoad
[_slimeView update:64];
}

- (void)dealloc
{
[_slimeView removeFromSuperview];
}

- (void)didReceiveMemoryWarning
{
[super didReceiveMemoryWarning];
Expand Down

0 comments on commit eef816e

Please sign in to comment.