Author: lluis
Date: 2007-09-08 11:22:52 -0400 (Sat, 08 Sep 2007)
New Revision: 85520
Modified:
trunk/monodevelop/Extras/VersionControl/ChangeLog
trunk/monodevelop/Extras/VersionControl/MonoDevelop.VersionControl/MonoDevelop.VersionControl.Views/Diffs.cs
Log:
* MonoDevelop.VersionControl/MonoDevelop.VersionControl.Views/Diffs.cs:
Dispose the file watchers when disposing the view. Fixes bug
#82721.
Modified: trunk/monodevelop/Extras/VersionControl/ChangeLog
===================================================================
--- trunk/monodevelop/Extras/VersionControl/ChangeLog 2007-09-08 14:02:35 UTC
(rev 85519)
+++ trunk/monodevelop/Extras/VersionControl/ChangeLog 2007-09-08 15:22:52 UTC
(rev 85520)
@@ -1,3 +1,8 @@
+2007-09-08 Lluis Sanchez Gual <[EMAIL PROTECTED]>
+
+ * MonoDevelop.VersionControl/MonoDevelop.VersionControl.Views/Diffs.cs:
+ Dispose the file watchers when disposing the view. Fixes bug #82721.
+
2007-09-07 Lluis Sanchez Gual <[EMAIL PROTECTED]>
* MonoDevelop.VersionControl/MonoDevelop.VersionControl/Publish.cs:
Notify a
Modified:
trunk/monodevelop/Extras/VersionControl/MonoDevelop.VersionControl/MonoDevelop.VersionControl.Views/Diffs.cs
===================================================================
---
trunk/monodevelop/Extras/VersionControl/MonoDevelop.VersionControl/MonoDevelop.VersionControl.Views/Diffs.cs
2007-09-08 14:02:35 UTC (rev 85519)
+++
trunk/monodevelop/Extras/VersionControl/MonoDevelop.VersionControl/MonoDevelop.VersionControl.Views/Diffs.cs
2007-09-08 15:22:52 UTC (rev 85520)
@@ -74,6 +74,14 @@
Refresh();
}
+ public override void Dispose ()
+ {
+ leftwatcher.Dispose ();
+ rightwatcher.Dispose ();
+ base.Dispose ();
+ }
+
+
void filechanged(object src, FileSystemEventArgs args) {
threadnotify.WakeupMain();
}
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches