projects
/
mono.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
New test.
[mono.git]
/
mcs
/
class
/
corlib
/
System.Threading
/
Timer.cs
diff --git
a/mcs/class/corlib/System.Threading/Timer.cs
b/mcs/class/corlib/System.Threading/Timer.cs
index ea626e2484792870d1ed433923fa680680316197..a46b0381110ee71a1c826068166f6462b2dc9b61 100644
(file)
--- a/
mcs/class/corlib/System.Threading/Timer.cs
+++ b/
mcs/class/corlib/System.Threading/Timer.cs
@@
-260,8
+260,10
@@
namespace System.Threading
t.Abort ();
t = null;
}
- runner.Dispose ();
- runner = null;
+ if (runner != null) {
+ runner.Dispose ();
+ runner = null;
+ }
GC.SuppressFinalize (this);
}