chore: return regardless of value type
This commit is contained in:
parent
a96dc337e6
commit
9ccec5711d
2
main.cpp
2
main.cpp
|
|
@ -48,7 +48,7 @@ public:
|
|||
|
||||
// but this is good enough as a poc & can be used for replication
|
||||
// across different clients connected to a server
|
||||
if (name == "sendResultToCpp" && arguments.size() == 1 && arguments[0]->IsString()) {
|
||||
if (name == "sendResultToCpp" && arguments.size() == 1) {
|
||||
CefRefPtr<CefProcessMessage> msg = CefProcessMessage::Create("resultMessage");
|
||||
|
||||
CefRefPtr<CefListValue> args = msg->GetArgumentList();
|
||||
|
|
|
|||
Loading…
Reference in New Issue