lizhanwei
2020-07-07 844a6141b652e9dc8b521d83988a8121584813d7
lib/src/main/java/com/anyun/exam/lib/SvrManager.java
@@ -122,14 +122,17 @@
    public void unBindRemoteService(Context mContext){
        if (remoteInterface!=null && remoteInterface.asBinder().isBinderAlive()){
            try {
                MyLog.i("摧毁SDK,需要解绑远程回调");
                remoteInterface.unRegistListener(RemoteCallback);
            } catch (RemoteException e) {
                e.printStackTrace();
            }
        }
        MyLog.i("摧毁SDK,需要解绑远程服务");
        mContext.unbindService(conn);
        if (intent!=null){
            MyLog.i("摧毁SDK,需要停止远程服务");
            mContext.stopService(intent);
        }
    }