A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/jakogut/cefpython/commit/016f77dabd52584603ebf14cda49db3fce8c842a below:

CefFrame reference is NULL in OnCon… · jakogut/cefpython@016f77d · GitHub

File tree Expand file treeCollapse file tree 1 file changed

+4

-1

lines changed

Filter options

Expand file treeCollapse file tree 1 file changed

+4

-1

lines changed Original file line number Diff line number Diff line change

@@ -22,7 +22,10 @@ cdef public void V8ContextHandler_OnContextCreated(

22 22

Debug("V8ContextHandler_OnContextCreated()")

23 23

pyBrowser = GetPyBrowser(cefBrowser, "OnContextCreated")

24 24

pyBrowser.SetUserData("__v8ContextCreated", True)

25 -

pyFrame = GetPyFrame(cefFrame)

25 +

if cefFrame.get():

26 +

pyFrame = GetPyFrame(cefFrame)

27 +

else:

28 +

pyFrame = None

26 29

# User defined callback.

27 30

clientCallback = pyBrowser.GetClientCallback("OnContextCreated")

28 31

if clientCallback:

You can’t perform that action at this time.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4