コード例 #1
0
ファイル: applet-common.c プロジェクト: asukaliy/seafile
static void
stop_mq_client ()
{
    if (applet->mqclient_proc) {
        ccnet_mqclient_proc_unsubscribe_apps (applet->mqclient_proc);
        applet->mqclient_proc = NULL;
    }
}
コード例 #2
0
ファイル: seafile-controller.c プロジェクト: krutten/seafile
static void
stop_mq_client ()
{
    if (ctl->mqclient_proc) {
        seaf_message ("stopping mq client ...\n");
        ccnet_mqclient_proc_unsubscribe_apps (ctl->mqclient_proc);
        ctl->mqclient_proc = NULL;
    }
}