jchv/go-webview2

infinite recursive call

D4v1dW3bb opened this issue · 0 comments

I've added the flowing functions to chromium.go:

func (e *Chromium) GetDefaultBackgroundColor() (*COREWEBVIEW2_COLOR, error) {
	return e.controller.GetICoreWebView2Controller2().GetDefaultBackgroundColor()
}

func (e *Chromium) PutDefaultBackgroundColor(backgroundColor COREWEBVIEW2_COLOR) error {
	return e.controller.GetICoreWebView2Controller2().PutDefaultBackgroundColor(backgroundColor)
}

now on the lines with where .AddRef() is called i get the warning: "infinite recursive call"