Skip to content

Commit

Permalink
Removed unncessary retain.
Browse files Browse the repository at this point in the history
  • Loading branch information
shazron committed Aug 13, 2009
1 parent 6e256e3 commit 35c3bea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion iphone/Classes/Movie.m
Expand Up @@ -81,7 +81,7 @@ - (void) play:(NSMutableArray*)arguments withDict:(NSMutableDictionary*)options
[[NSNotificationCenter defaultCenter] addObserver:self
selector:@selector(myMovieFinishedCallback:)
name:MPMoviePlayerPlaybackDidFinishNotification
object:[theMovie retain]];
object:theMovie];

// Movie playback is asynchronous, so this method returns immediately.
[theMovie play];
Expand Down

0 comments on commit 35c3bea

Please sign in to comment.