public void Clear() { Trace.Call(); f_Config = null; f_Chats.Clear(); f_Notebook.RemoveAllPages(); SyncedChats.Clear(); SyncManager.Clear(); }
public void Clear() { Trace.Call(); var chats = new List <ChatView>(f_Chats); foreach (var chat in chats) { // clean up ChatView and all notify related resources like // StatusIconManager, NotifyManager and IndicateManager RemoveChat(chat.ChatModel); } f_Config = null; SyncManager.Clear(); }