Skip to content

Commit

Permalink
Make STKAudioPlayer's delegate weak
Browse files Browse the repository at this point in the history
  • Loading branch information
derpoliuk committed Nov 9, 2017
1 parent 2d251d5 commit 8e47ee2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion StreamingKit/StreamingKit/STKAudioPlayer.h
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ typedef void(^STKFrameFilter)(UInt32 channelsPerFrame, UInt32 bytesPerFrame, UIn
/// Gets the reason why the player is stopped (if any)
@property (readonly) STKAudioPlayerStopReason stopReason;
/// Gets and sets the delegate used for receiving events from the STKAudioPlayer
@property (readwrite, unsafe_unretained) id<STKAudioPlayerDelegate> delegate;
@property (readwrite, weak) id<STKAudioPlayerDelegate> delegate;

/// Creates a datasource from a given URL.
/// URLs with FILE schemes will return an STKLocalFileDataSource.
Expand Down

0 comments on commit 8e47ee2

Please sign in to comment.