##// END OF EJS Templates
Minor code changes
cin -
r213:9ee78a345738 v2
parent child
Show More
@@ -75,11 +75,9 namespace Implab.Components {
75 75 /// из нескольких потоков.
76 76 /// </remarks>
77 77 protected virtual void Dispose(bool disposing) {
78 if (disposing) {
79 EventHandler temp = Disposed;
80 if (temp != null)
81 temp(this, EventArgs.Empty);
82 }
78 if (disposing)
79 Disposed.DispatchEvent(this, EventArgs.Empty);
80
83 81 }
84 82
85 83 [SuppressMessage("Microsoft.Design", "CA1063:ImplementIDisposableCorrectly", Justification = "Dipose(bool) and GC.SuppessFinalize are called")]
@@ -6,6 +6,10 using System.Text.RegularExpressions;
6 6 using System.Diagnostics;
7 7 using System.Collections;
8 8
9 #if NET_4_5
10 using System.Threading.Tasks;
11 #endif
12
9 13 namespace Implab
10 14 {
11 15 public static class Safe
@@ -117,6 +121,9 namespace Implab
117 121 }
118 122 }
119 123
124 public static void NoWait(IPromise promise) {
125 }
126
120 127 [DebuggerStepThrough]
121 128 public static IPromise<T> Run<T>(Func<IPromise<T>> action) {
122 129 ArgumentNotNull(action, "action");
@@ -128,5 +135,10 namespace Implab
128 135 }
129 136 }
130 137
138 #if NET_4_5
139 public static void NoWait(Task t) {
140 }
141 #endif
142
131 143 }
132 144 }
General Comments 3
Under Review
author

Auto status change to "Under Review"

Approved
author

ok, latest stable version should be in default

You need to be logged in to leave comments. Login now