workaround for unexpected exception
This commit is contained in:
parent
1596c5cf91
commit
9a33a21ddc
|
@ -348,7 +348,8 @@ namespace SparkleShare {
|
|||
public static void SafeInvoke (this Control uiElement, Action updater, bool forceSynchronous)
|
||||
{
|
||||
if (uiElement == null) {
|
||||
throw new ArgumentNullException ("uiElement");
|
||||
//throw new ArgumentNullException ("uiElement");
|
||||
return;
|
||||
}
|
||||
|
||||
if (uiElement.InvokeRequired) {
|
||||
|
|
Loading…
Reference in a new issue