Commit 8da6d24e by zeven

注释代码,修复闪退

parent 8b721d64
......@@ -3,8 +3,8 @@ import {View, Text, Image, Dimensions} from 'react-native';
import AsyncStorage from '@react-native-community/async-storage';
import {connect} from 'react-redux';
// import {RtcEngineEvents} from 'react-native-agora/lib/RtcEvents';
import RtcEngine from 'react-native-agora';
import {RtcChannel} from 'react-native-agora';
// import RtcEngine from 'react-native-agora';
// import {RtcChannel} from 'react-native-agora';
import Touch from '../components/Touch';
import PhoneModal from '../components/PhoneModal';
import VerifyCodeModal from '../components/VerifyCodeModal';
......@@ -294,10 +294,10 @@ class FacePage extends Component {
this.wechatFace();
} else if (count === 0) {
// 重力感应归零
clearInterval(this.noTalkCall);
if (!this.engine) {
this.engine.leaveChannel();
}
// clearInterval(this.noTalkCall);
// if (!this.engine) {
// this.engine.leaveChannel();
// }
this.setState({
orderDetailsModal: false,
phoneModal: false,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment