package com.tencent.mm.plugin.messenger.b;

import com.tencent.matrix.trace.core.AppMethodBeat;
import com.tencent.mm.plugin.messenger.a.e.c;
import com.tencent.mm.sdk.platformtools.ab;
import java.util.HashSet;

class a$3 implements Runnable {
    final /* synthetic */ a ora;
    final /* synthetic */ String orb;
    final /* synthetic */ c orc;

    a$3(a aVar, String str, c cVar) {
        this.ora = aVar;
        this.orb = str;
        this.orc = cVar;
    }

    public final void run() {
        AppMethodBeat.i(136921);
        ab.i("MicroMsg.SysMsgTemplateImp", "hy: removing Received listener: %s", new Object[]{this.orb});
        HashSet hashSet = (HashSet) a.a(this.ora).get(this.orb);
        if (hashSet == null) {
            AppMethodBeat.o(136921);
            return;
        }
        hashSet.remove(this.orc);
        if (hashSet.size() == 0) {
            a.a(this.ora).remove(this.orb);
            AppMethodBeat.o(136921);
            return;
        }
        a.a(this.ora).put(this.orb, hashSet);
        AppMethodBeat.o(136921);
    }
}
