Skip to content

Commit

Permalink
[unreal]解决无去stl封装api时的报错
Browse files Browse the repository at this point in the history
  • Loading branch information
chexiongsheng committed Aug 12, 2024
1 parent ebd61da commit 5a2e75e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion unreal/Puerts/Source/JsEnv/Private/V8InspectorImpl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -492,7 +492,7 @@ void V8InspectorClientImpl::OnHTTP(wspp_connection_hdl Handle)

void V8InspectorClientImpl::OnOpen(wspp_connection_hdl Handle)
{
V8InspectorChannelImpl* channel = new V8InspectorChannelImpl(Isolate, V8Inspector, CtxGroupID);
V8InspectorChannelImpl* channel = static_cast<V8InspectorChannelImpl*>(CreateV8InspectorChannel());
V8InspectorChannels[Handle.lock().get()] = channel;
channel->OnMessage(std::bind(&V8InspectorClientImpl::OnSendMessage, this, Handle, std::placeholders::_1));
#if USING_UE
Expand Down

0 comments on commit 5a2e75e

Please sign in to comment.