From 198eb04c58cf17d46d509959be61a3eea75529cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Peter=20Str=C3=B8iman?= Date: Thu, 5 Dec 2024 09:32:36 +0100 Subject: [PATCH] Fixup, remove fmt --- inspector.cc | 1 - inspector.go | 3 --- 2 files changed, 4 deletions(-) diff --git a/inspector.cc b/inspector.cc index e4906cc8..00e80f3d 100644 --- a/inspector.cc +++ b/inspector.cc @@ -53,7 +53,6 @@ InspectorClientPtr NewInspectorClient(int callbackRef) { } void InspectorContextCreated(InspectorPtr inspector, ContextPtr context) { - printf("Create from C++"); LOCAL_CONTEXT(context); int groupId = 1; StringView name = StringView((const uint8_t*)"Test", 4); diff --git a/inspector.go b/inspector.go index badc11b1..ef1940c3 100644 --- a/inspector.go +++ b/inspector.go @@ -3,7 +3,6 @@ package v8go // #include "inspector.h" import "C" import ( - "fmt" "sync" "unicode/utf16" ) @@ -100,7 +99,6 @@ func (i *Inspector) Dispose() { } func (i *Inspector) ContextCreated(ctx *Context) { - fmt.Println("Created from Go") C.InspectorContextCreated(i.ptr, ctx.ptr) } @@ -143,7 +141,6 @@ func goHandleConsoleAPIMessageCallback( errorLevel C.int, message C.StringViewData, ) { - fmt.Println("Callback from Go") // Convert data to Go data client := clientRegistry.get(callbackRef) client.handler.ConsoleAPIMessage(ConsoleAPIMessage{