sanity check

This commit is contained in:
pypy
2021-01-09 14:28:13 +09:00
parent b74b678405
commit e24c71481e
2 changed files with 33 additions and 14 deletions

View File

@@ -59,11 +59,17 @@ namespace VRCX
{
var values = new object[reader.FieldCount];
reader.GetValues(values);
callback.ExecuteAsync(null, values);
if (callback.CanExecute == true)
{
callback.ExecuteAsync(null, values);
}
}
}
}
callback.ExecuteAsync(null, null);
if (callback.CanExecute == true)
{
callback.ExecuteAsync(null, null);
}
}
finally
{
@@ -72,7 +78,10 @@ namespace VRCX
}
catch (Exception e)
{
callback.ExecuteAsync(e.Message, null);
if (callback.CanExecute == true)
{
callback.ExecuteAsync(e.Message, null);
}
}
callback.Dispose();