()
| 165 | } |
| 166 | |
| 167 | public void Dispose() |
| 168 | { |
| 169 | var disp = Interlocked.Exchange(ref updateLock, null); |
| 170 | if (disp != null) { |
| 171 | disp.Dispose(); |
| 172 | } |
| 173 | } |
| 174 | |
| 175 | static bool exiting = false; |
| 176 | public static void RestartApp(string exeToStart = null, string arguments = null) |