- AB#76 #145
fc825b9b
Dimitar Tsenev
committed
succeeded
2 changed files
App.xaml.cs
/BExplorer/BetterExplorer/App.xaml.cs
/BExplorer/BetterExplorer/App.xaml.cs
ShellViewEx.cs
/Shell/ShellViewEx.cs-3+4
/Shell/ShellViewEx.cs
Add comment 2725 thread.SetApartmentState(ApartmentState.STA);
Add comment 2726 //thread.IsBackground = true;
Add comment 2727 thread.Start();
Add comment 2728 Minus   }
Add comment 2729 Minus   catch (ThreadAbortException ex) {
Add comment 2728 Plus   } catch (ThreadAbortException ex) {
Add comment 2730 2729
Add comment 2731 2730 }
Add comment 2732 2731 Shell32.SetProcessWorkingSetSize(Process.GetCurrentProcess().Handle, -1, -1);
Add comment 3722 3721 if (destination.IsFileSystem) {
Add comment 3723 3722 if (this._FsWatcher != null) {
Add comment 3724 3723 this._FsWatcher.EnableRaisingEvents = false;
Add comment 3725 Minus   this._FsWatcher.Dispose();
Add comment 3724 Plus   this._FsWatcher.Path = @destination.ParsingName;
Add comment 3725 Plus   this._FsWatcher.EnableRaisingEvents = true;
Add comment 3726 Plus   } else {
Add comment 3726 3727 try {
Add comment 3727 3728 this._FsWatcher = new FileSystemWatcher(@destination.ParsingName);
Add comment 3728 3729 this._FsWatcher.Changed += (sender, args) => {