We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dadb4fa commit 84e0415Copy full SHA for 84e0415
CefSharp.Core/Internals/JavascriptCallbackProxy.cpp
@@ -55,14 +55,12 @@ namespace CefSharp
55
56
return doneCallback.Value->Task;
57
}
58
- else
59
- {
60
- auto invalidFrameResponse = gcnew JavascriptResponse();
61
- invalidFrameResponse->Success = false;
62
- invalidFrameResponse->Message = "Frame with Id:" + _callback->FrameId + " is no longer valid.";
63
64
- Task::FromResult(invalidFrameResponse);
65
- }
+ auto invalidFrameResponse = gcnew JavascriptResponse();
+ invalidFrameResponse->Success = false;
+ invalidFrameResponse->Message = "Frame with Id:" + _callback->FrameId + " is no longer valid.";
+
+ return Task::FromResult(invalidFrameResponse);
66
67
68
CefRefPtr<CefProcessMessage> JavascriptCallbackProxy::CreateDestroyMessage()
0 commit comments