private void Callback_Closing(object sender, EventArgs e) { var callBack = sender as IMessageCallBack; if (callBack == null) { return; } MessageServiceManager.RemoveSubscriber(callBack); }
public void Unsubscribe(string clientId) { MessageServiceManager.RemoveSubscriber(clientId); }