diff --git a/FrameworkRPC/Rpc.cs b/FrameworkRPC/Rpc.cs index f6a786b..4f7ff10 100755 --- a/FrameworkRPC/Rpc.cs +++ b/FrameworkRPC/Rpc.cs @@ -611,7 +611,7 @@ public virtual TR TrySubmitRequest(IRemoteRequestFactory Promise { - get { return _promise.Task; } + get { return _promise != null ? _promise.Task : default(Task); } } ///