package com.tencent.mm.plugin.sns.model;

import com.tencent.matrix.trace.core.AppMethodBeat;
import com.tencent.mm.modelvideo.f;
import com.tencent.mm.modelvideo.o;
import com.tencent.mm.plugin.sns.storage.n;
import com.tencent.mm.sdk.platformtools.ab;
import com.tencent.mm.sdk.platformtools.bo;
import java.util.Iterator;

class ar$4 implements Runnable {
    final /* synthetic */ f fWd;
    final /* synthetic */ ar qNb;

    ar$4(ar arVar, f fVar) {
        this.qNb = arVar;
        this.fWd = fVar;
    }

    public final void run() {
        AppMethodBeat.i(36648);
        String str = this.fWd.cwT;
        synchronized (this.qNb.qMZ) {
            try {
                Iterator it = this.qNb.qMZ.iterator();
                while (it.hasNext()) {
                    n nVar = (n) it.next();
                    if (nVar != null && bo.isEqual(str, nVar.cqU())) {
                        ab.i("MicroMsg.SnsVideoService", "%d find sns info[%s], remove now", new Object[]{Integer.valueOf(this.qNb.hashCode()), str});
                        it.remove();
                    }
                }
            } catch (Throwable th) {
                AppMethodBeat.o(36648);
            }
        }
        o.aln().cW(false);
        if (this.qNb.fWa != null) {
            this.qNb.fWa.fVC = null;
        }
        this.qNb.fWa = null;
        this.qNb.cok();
        this.qNb.coj();
        AppMethodBeat.o(36648);
    }
}
