Bugzilla – Attachment 176250 Details for
Bug 330505
NullRef Exception in svn log tab
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Forgot Password
[patch]
Patch to check FileSystemWatchers before disposing them.
watcher-dispose-check.patch (text/plain), 1.07 KB, created by
Zach Lute
on 2007-10-04 01:26:50 UTC
(
hide
)
Description:
Patch to check FileSystemWatchers before disposing them.
Filename:
MIME Type:
Creator:
Zach Lute
Created:
2007-10-04 01:26:50 UTC
Size:
1.07 KB
patch
obsolete
>Index: ChangeLog >=================================================================== >--- ChangeLog (revision 86836) >+++ ChangeLog (working copy) >@@ -1,3 +1,8 @@ >+2007-10-03 Zach Lute <zach.lute@gmail.com> >+ >+ * MonoDevelop.VersionControl/MonoDevelop.VersionControl.Views/Diffs.cs: Only dispose of >+ FileSystemWatchers if they were actually created. (Bug #330505) >+ > 2007-09-21 Lluis Sanchez Gual <lluis@novell.com> > > * MonoDevelop.VersionControl.Subversion/MonoDevelop.VersionControl.Subversion.addin.xml, >Index: MonoDevelop.VersionControl/MonoDevelop.VersionControl.Views/Diffs.cs >=================================================================== >--- MonoDevelop.VersionControl/MonoDevelop.VersionControl.Views/Diffs.cs (revision 86836) >+++ MonoDevelop.VersionControl/MonoDevelop.VersionControl.Views/Diffs.cs (working copy) >@@ -76,8 +76,10 @@ > > public override void Dispose () > { >- leftwatcher.Dispose (); >- rightwatcher.Dispose (); >+ if(leftwatcher != null) >+ leftwatcher.Dispose (); >+ if(rightwatcher != null) >+ rightwatcher.Dispose (); > base.Dispose (); > } >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
Actions:
View
|
Diff
Attachments on
bug 330505
: 176250