diff --git a/src/CefWing/CefRenderApp/RenderDelegates/CefViewClient.cpp b/src/CefWing/CefRenderApp/RenderDelegates/CefViewClient.cpp index d6295f7..5965ea2 100644 --- a/src/CefWing/CefRenderApp/RenderDelegates/CefViewClient.cpp +++ b/src/CefWing/CefRenderApp/RenderDelegates/CefViewClient.cpp @@ -82,6 +82,7 @@ CefViewClient::V8Handler::ExecuteRemoveEventListener(CefRefPtr objec listener.callback_ = arguments[1]; listener.context_ = CefV8Context::GetCurrentContext(); client_->RemoveEventListener(eventName, listener); + bRet = true; } else exception = "Invalid arguments; argument 2 must be a function"; } else