Skip to content

JavascriptObjectRepository seems can not effect UI thread? #3768

Answered by ukandrewc
tp1415926535 asked this question in Q&A
Discussion options

You must be logged in to vote

Assuming boundObject was created on your UI thread, you need to invoke mainWindow.Title because the call into boundObject.add is made on the CEF UI thread.

PS: The stacktrace tells you that because it failed on Dispatcher.VerifyAccess(), which checks that you are calling from the same thread.

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@amaitland
Comment options

@tp1415926535
Comment options

@amaitland
Comment options

@ukandrewc
Comment options

@tp1415926535
Comment options

Answer selected by tp1415926535
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants