private void Window_Closed(object sender, EventArgs e) { PageDataExchange context = PageDataExchange.getInstance(); context.removeResultObserver(TAG); WarnningDataSource observer = WarnningDataSource.GetInstance(); observer.UnregisterObserver(); // http://forums.adobe.com/thread/487023 Win32Helper.CoFreeUnusedLibraries(); // Win32Helper.CoUninitialize(); mAdsClient.Dispose(); String description = @"退出系统"; Log.write(Log.CATEGOTY_RUN, description); }