Skip to content

Commit

Permalink
Fixing typo in mapping mediaPlayback_stopPlayback correctly in Castin…
Browse files Browse the repository at this point in the history
…gServerBridge.mm (#22087)
  • Loading branch information
sharadb-amazon authored Aug 23, 2022
1 parent 27ca045 commit 1a1d887
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ - (void)mediaPlayback_stopPlayback:(void (^_Nonnull)(bool))responseCallback

_mediaPlayback_pauseResponseCallback = responseCallback;
dispatch_async(_chipWorkQueue, ^{
CHIP_ERROR err = CastingServer::GetInstance()->MediaPlayback_Pause([](CHIP_ERROR err) {
CHIP_ERROR err = CastingServer::GetInstance()->MediaPlayback_StopPlayback([](CHIP_ERROR err) {
[CastingServerBridge getSharedInstance].mediaPlayback_stopPlaybackResponseCallback(CHIP_NO_ERROR == err);
});
dispatch_async(clientQueue, ^{
Expand Down

0 comments on commit 1a1d887

Please sign in to comment.