Skip to content

Commit e4c38ed

Browse files
committed
Add note about ui thread
1 parent d8ade5b commit e4c38ed

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ExchangeSharp/Utility/CryptoUtility.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1332,7 +1332,7 @@ public static decimal CalculatePrecision(string numberWithDecimals)
13321332
}
13331333

13341334
/// <summary>
1335-
/// Make a task execute synchronously
1335+
/// Make a task execute synchronously - do not call this from the UI thread or it will lock up the application
13361336
/// </summary>
13371337
/// <param name="task">Task</param>
13381338
public static void Sync(this Task task)
@@ -1341,7 +1341,7 @@ public static void Sync(this Task task)
13411341
}
13421342

13431343
/// <summary>
1344-
/// Make a task execute synchronously
1344+
/// Make a task execute synchronously - do not call this from the UI thread or it will lock up the application
13451345
/// </summary>
13461346
/// <param name="task">Task</param>
13471347
/// <returns>Result</returns>

0 commit comments

Comments
 (0)