package com.ss.android.ugc.aweme.profile.viewmodel;

import X.0CB;
import X.0CH;
import X.0CN;
import X.6Is;
import X.AnonymousClass2cN;
import com.bytedance.covode.number.Covode;

public final class FollowViewModel implements 6Is {
    public AnonymousClass2cN LIZ;

    static {
        Covode.recordClassIndex(99638);
    }

    public final void onStateChanged(0CH r2, 0CB r3) {
        if (r3 == 0CB.ON_DESTROY) {
            onDestroy();
        }
    }

    @0CN(LIZ = 0CB.ON_DESTROY)
    public final void onDestroy() {
        AnonymousClass2cN r0 = this.LIZ;
        if (r0 != null) {
            r0.dispose();
        }
    }
}
