wp7-app icon indicating copy to clipboard operation
wp7-app copied to clipboard

感觉UID为0时应该不进行Tool.AsyncGetUserNotice();

Open wingyiu opened this issue 11 years ago • 1 comments

public static void StartUserNoticeThread() { if (thread != null && thread.IsAlive) { return; } thread = new Thread(new ThreadStart( () => { while (true) { System.Threading.Thread.Sleep(TimeSpan.FromMilliseconds(2)); Tool.AsyncGetUserNotice(); } } )) { IsBackground = true, }; thread.Start(); } 一直在后台这样会很耗流量

wingyiu avatar Mar 25 '13 12:03 wingyiu