Skip to content

Commit

Permalink
chore: optimize
Browse files Browse the repository at this point in the history
  • Loading branch information
guoxianzhe committed Feb 26, 2025
1 parent 56d95d7 commit d03ce54
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions ios/AgoraRtcSurfaceView.mm
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,6 @@ - (void)updateProps:(Props::Shared const &)props oldProps:(Props::Shared const &
const auto &oldViewProps = *std::static_pointer_cast<AgoraRtcSurfaceViewProps const>(_props);
const auto &newViewProps = *std::static_pointer_cast<AgoraRtcSurfaceViewProps const>(props);

// Add NSLog to print oldViewProps and newViewProps
NSLog(@"oldViewProps: funcName = %s, params = %s", oldViewProps.callApi.funcName.c_str(), oldViewProps.callApi.params.c_str());
NSLog(@"newViewProps: funcName = %s, params = %s", newViewProps.callApi.funcName.c_str(), newViewProps.callApi.params.c_str());
NSLog(@"_isInitialized: _isInitialized = %d", _isInitialized);

if (_isDestroyed) {
_isInitialized = NO;
_isDestroyed = NO;
Expand Down

0 comments on commit d03ce54

Please sign in to comment.